pub struct CustomError;Trait Implementations§
Source§impl From<CustomError> for u32
impl From<CustomError> for u32
Source§fn from(_: CustomError) -> Self
fn from(_: CustomError) -> Self
Converts to this type from the input type.
Source§impl ToStr for CustomError
impl ToStr for CustomError
Auto Trait Implementations§
impl Freeze for CustomError
impl RefUnwindSafe for CustomError
impl Send for CustomError
impl Sync for CustomError
impl Unpin for CustomError
impl UnwindSafe for CustomError
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