pub enum FromBytesError {
ParseError(String),
Custom(String),
}Variants§
Trait Implementations§
Source§impl Debug for FromBytesError
impl Debug for FromBytesError
Source§impl From<FromBytesError> for SendError
impl From<FromBytesError> for SendError
Source§fn from(err: FromBytesError) -> Self
fn from(err: FromBytesError) -> Self
Converts to this type from the input type.
Source§impl From<FromBytesError> for ReceiveError
impl From<FromBytesError> for ReceiveError
Source§fn from(err: FromBytesError) -> Self
fn from(err: FromBytesError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FromBytesError
impl RefUnwindSafe for FromBytesError
impl Send for FromBytesError
impl Sync for FromBytesError
impl Unpin for FromBytesError
impl UnsafeUnpin for FromBytesError
impl UnwindSafe for FromBytesError
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