pub enum WriteMessageError {
Serialize(Error),
Writing(WriteError),
}Variants§
Serialize(Error)
Writing(WriteError)
Trait Implementations§
Source§impl Debug for WriteMessageError
impl Debug for WriteMessageError
Source§impl Display for WriteMessageError
impl Display for WriteMessageError
Source§impl Error for WriteMessageError
impl Error for WriteMessageError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for WriteMessageError
impl From<Error> for WriteMessageError
Source§impl From<WriteError> for WriteMessageError
impl From<WriteError> for WriteMessageError
Source§fn from(source: WriteError) -> Self
fn from(source: WriteError) -> Self
Converts to this type from the input type.
Source§impl From<WriteMessageError> for RunClientError
impl From<WriteMessageError> for RunClientError
Source§fn from(source: WriteMessageError) -> Self
fn from(source: WriteMessageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for WriteMessageError
impl RefUnwindSafe for WriteMessageError
impl Send for WriteMessageError
impl Sync for WriteMessageError
impl Unpin for WriteMessageError
impl UnwindSafe for WriteMessageError
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