pub struct CodedError { /* private fields */ }Expand description
Struct to create custom errors with codes
Implementations§
Trait Implementations§
Source§impl CustomErrorFactory for CodedError
impl CustomErrorFactory for CodedError
Source§fn create_error(&self) -> WriteError
fn create_error(&self) -> WriteError
Create an error from this factory
Auto Trait Implementations§
impl Freeze for CodedError
impl RefUnwindSafe for CodedError
impl Send for CodedError
impl Sync for CodedError
impl Unpin for CodedError
impl UnwindSafe for CodedError
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