#[repr(u32)]pub enum ResolverError {
Internal = 1,
Io = 2,
InvalidArgs = 3,
NotSupported = 4,
ManifestNotFound = 5,
PackageNotFound = 6,
NoSpace = 7,
ResourceUnavailable = 8,
InvalidManifest = 9,
ConfigValuesNotFound = 10,
AbiRevisionNotFound = 11,
InvalidAbiRevision = 12,
}
Expand description
The possible error conditions returned by ComponentResolver.
Variants§
Internal = 1
Io = 2
InvalidArgs = 3
NotSupported = 4
ManifestNotFound = 5
PackageNotFound = 6
NoSpace = 7
InvalidManifest = 9
ConfigValuesNotFound = 10
AbiRevisionNotFound = 11
InvalidAbiRevision = 12
Trait Implementations§
Source§impl Clone for ResolverError
impl Clone for ResolverError
Source§fn clone(&self) -> ResolverError
fn clone(&self) -> ResolverError
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 ResolverError
impl Debug for ResolverError
Source§impl Encodable for ResolverError
impl Encodable for ResolverError
Source§type Encoded = WireResolverError
type Encoded = WireResolverError
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for ResolverErrorwhere
___E: ?Sized,
impl<___E> Encode<___E> for ResolverErrorwhere
___E: ?Sized,
Source§impl From<ResolverError> for WireResolverError
impl From<ResolverError> for WireResolverError
Source§fn from(natural: ResolverError) -> Self
fn from(natural: ResolverError) -> Self
Converts to this type from the input type.
Source§impl From<WireResolverError> for ResolverError
impl From<WireResolverError> for ResolverError
Source§fn from(wire: WireResolverError) -> Self
fn from(wire: WireResolverError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ResolverError
impl PartialEq for ResolverError
Source§impl TakeFrom<WireResolverError> for ResolverError
impl TakeFrom<WireResolverError> for ResolverError
Source§fn take_from(from: &WireResolverError) -> Self
fn take_from(from: &WireResolverError) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreimpl Copy for ResolverError
impl Eq for ResolverError
impl StructuralPartialEq for ResolverError
Auto Trait Implementations§
impl Freeze for ResolverError
impl RefUnwindSafe for ResolverError
impl Send for ResolverError
impl Sync for ResolverError
impl Unpin for ResolverError
impl UnwindSafe for ResolverError
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