#[non_exhaustive]pub enum WsConnectionOperation {
Read,
Write,
}Expand description
Operation that caused a WebSocket connection error.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for WsConnectionOperation
impl Clone for WsConnectionOperation
impl Copy for WsConnectionOperation
Source§impl Debug for WsConnectionOperation
impl Debug for WsConnectionOperation
impl Eq for WsConnectionOperation
Source§impl PartialEq for WsConnectionOperation
impl PartialEq for WsConnectionOperation
impl StructuralPartialEq for WsConnectionOperation
Auto Trait Implementations§
impl Freeze for WsConnectionOperation
impl RefUnwindSafe for WsConnectionOperation
impl Send for WsConnectionOperation
impl Sync for WsConnectionOperation
impl Unpin for WsConnectionOperation
impl UnsafeUnpin for WsConnectionOperation
impl UnwindSafe for WsConnectionOperation
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