pub enum SessionError {
Closed,
Io,
}Expand description
Session-level I/O error (replaces unit () error types).
Variants§
Closed
WebSocket connection closed by peer.
Io
Underlying I/O failure (read/write error, unexpected frame, etc.).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionError
impl RefUnwindSafe for SessionError
impl Send for SessionError
impl Sync for SessionError
impl Unpin for SessionError
impl UnsafeUnpin for SessionError
impl UnwindSafe for SessionError
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