pub enum SendError {
IoError(Error),
Closed,
}
Expand description
Error that can happen when sending a message to the client.
Variants§
IoError(Error)
Failed to transfer the message on the socket.
Closed
The websocket connection is closed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SendError
impl !RefUnwindSafe for SendError
impl Send for SendError
impl Sync for SendError
impl Unpin 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