#[repr(u32)]pub enum Error {
Show 15 variants
Internal = 1,
InvalidArguments = 2,
Unsupported = 3,
AccessDenied = 4,
InstanceNotFound = 5,
InstanceAlreadyExists = 6,
InstanceCannotStart = 7,
InstanceCannotResolve = 8,
CollectionNotFound = 9,
ResourceUnavailable = 10,
InstanceDied = 11,
ResourceNotFound = 12,
InstanceCannotUnresolve = 13,
InstanceAlreadyStarted = 14,
UnknownOrdinal_(u32),
}
Expand description
Standard error codes for component framework protocols.
Variants§
Internal = 1
InvalidArguments = 2
Unsupported = 3
AccessDenied = 4
InstanceNotFound = 5
InstanceAlreadyExists = 6
InstanceCannotStart = 7
InstanceCannotResolve = 8
CollectionNotFound = 9
InstanceDied = 11
ResourceNotFound = 12
InstanceCannotUnresolve = 13
InstanceAlreadyStarted = 14
UnknownOrdinal_(u32)
Trait Implementations§
Source§impl TakeFrom<WireError> for Error
impl TakeFrom<WireError> for Error
Source§fn take_from(from: &WireError) -> Self
fn take_from(from: &WireError) -> 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 Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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