pub enum WriteMessageErrors {
MessageConstructionFailed,
MessageSendFailed(Error),
}Expand description
The error type for a message writing
Variants§
MessageConstructionFailed
Failed to construct message. This indicates that the protocol implementation has a flaw
MessageSendFailed(Error)
Failed to send message. This indicates typically a run-time problem.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WriteMessageErrors
impl !RefUnwindSafe for WriteMessageErrors
impl Send for WriteMessageErrors
impl Sync for WriteMessageErrors
impl Unpin for WriteMessageErrors
impl !UnwindSafe for WriteMessageErrors
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