pub enum SendError {
Timeout,
SendFailed(String),
ParseError(String),
Custom(String),
}Variants§
Trait Implementations§
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.
Auto Trait Implementations§
impl Freeze for SendError
impl RefUnwindSafe for SendError
impl Send for SendError
impl Sync for SendError
impl Unpin for SendError
impl UnsafeUnpin for SendError
impl UnwindSafe for SendError
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