pub struct WireError { /* private fields */ }
Expand description
The wire type corresponding to Error
.
Implementations§
Source§impl WireError
impl WireError
pub const INTERNAL: WireError
pub const INVALID_ARGUMENTS: WireError
pub const UNSUPPORTED: WireError
pub const ACCESS_DENIED: WireError
pub const INSTANCE_NOT_FOUND: WireError
pub const INSTANCE_ALREADY_EXISTS: WireError
pub const INSTANCE_CANNOT_START: WireError
pub const INSTANCE_CANNOT_RESOLVE: WireError
pub const COLLECTION_NOT_FOUND: WireError
pub const RESOURCE_UNAVAILABLE: WireError
pub const INSTANCE_DIED: WireError
pub const RESOURCE_NOT_FOUND: WireError
pub const INSTANCE_CANNOT_UNRESOLVE: WireError
pub const INSTANCE_ALREADY_STARTED: WireError
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 moreSource§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 moreSource§impl ZeroPadding for WireError
impl ZeroPadding for WireError
Source§fn zero_padding(_: &mut MaybeUninit<Self>)
fn zero_padding(_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
impl Copy for WireError
impl Eq for WireError
impl StructuralPartialEq for WireError
Auto Trait Implementations§
impl Freeze for WireError
impl RefUnwindSafe for WireError
impl Send for WireError
impl Sync for WireError
impl Unpin for WireError
impl UnwindSafe for WireError
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