#[repr(u32)]pub enum LauncherError {
Show 16 variants
Internal = 1,
BadMoniker = 2,
InstanceNotFound = 3,
RealmQuery = 4,
ProcessLauncher = 5,
DashBinary = 6,
Pty = 7,
InstanceNotResolved = 8,
PackageResolver = 9,
ToolsCannotResolve = 10,
BadUrl = 11,
ToolsBinaryRead = 12,
NonUniqueBinaryName = 13,
ProcessResolver = 14,
VmexResource = 15,
ResolveTargetPackage = 16,
}
Expand description
Standard errors for the Launcher protocol
Variants§
Internal = 1
Launcher encountered an unspecified error
BadMoniker = 2
Moniker could not be parsed by launcher
InstanceNotFound = 3
No instance was found matching the moniker
RealmQuery = 4
Error occurred using fuchsia.sys2.RealmQuery
ProcessLauncher = 5
Error occurred using fuchsia.process.Launcher
DashBinary = 6
Error loading dash binary
Pty = 7
Error occurred involving the PTY
InstanceNotResolved = 8
Instance is not in a resolved state, so there is nothing to explore
PackageResolver = 9
Error occurred using fuchsia.pkg.PackageResolver
ToolsCannotResolve = 10
Error resolving tools package
BadUrl = 11
URL could not be parsed by launcher
ToolsBinaryRead = 12
Error reading a binary from a tools package
NonUniqueBinaryName = 13
A binary name was repeated
ProcessResolver = 14
Error occurred using fuchsia.process.Resolver
VmexResource = 15
Error occurred using fuchsia.kernel.VmexResource
ResolveTargetPackage = 16
Error resolving the package that is to be explored.
Implementations§
Source§impl LauncherError
impl LauncherError
pub fn from_primitive(prim: u32) -> Option<Self>
pub const fn into_primitive(self) -> u32
pub fn is_unknown(&self) -> bool
👎Deprecated: Strict enums should not use
is_unknown
Trait Implementations§
Source§impl Clone for LauncherError
impl Clone for LauncherError
Source§fn clone(&self) -> LauncherError
fn clone(&self) -> LauncherError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LauncherError
impl Debug for LauncherError
Source§impl<D: ResourceDialect> Decode<LauncherError, D> for LauncherError
impl<D: ResourceDialect> Decode<LauncherError, D> for LauncherError
Source§impl<D: ResourceDialect> Encode<LauncherError, D> for LauncherError
impl<D: ResourceDialect> Encode<LauncherError, D> for LauncherError
Source§impl Hash for LauncherError
impl Hash for LauncherError
Source§impl Ord for LauncherError
impl Ord for LauncherError
Source§fn cmp(&self, other: &LauncherError) -> Ordering
fn cmp(&self, other: &LauncherError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LauncherError
impl PartialEq for LauncherError
Source§impl PartialOrd for LauncherError
impl PartialOrd for LauncherError
Source§impl TypeMarker for LauncherError
impl TypeMarker for LauncherError
Source§type Owned = LauncherError
type Owned = LauncherError
The owned Rust type which this FIDL type decodes into.
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for LauncherError
impl ValueTypeMarker for LauncherError
Source§type Borrowed<'a> = LauncherError
type Borrowed<'a> = LauncherError
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Copy for LauncherError
impl Eq for LauncherError
impl StructuralPartialEq for LauncherError
Auto Trait Implementations§
impl Freeze for LauncherError
impl RefUnwindSafe for LauncherError
impl Send for LauncherError
impl Sync for LauncherError
impl Unpin for LauncherError
impl UnwindSafe for LauncherError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)