pub struct ErrorCode(/* private fields */);
Implementations§
Trait Implementations§
Source§impl From<KnownErrorCode> for ErrorCode
impl From<KnownErrorCode> for ErrorCode
Source§fn from(e: KnownErrorCode) -> Self
fn from(e: KnownErrorCode) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ErrorCode> for KnownErrorCode
impl TryFrom<ErrorCode> for KnownErrorCode
impl Copy for ErrorCode
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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