pub enum FrameKind {
Text,
Binary,
Close,
Ping,
Pong,
Continuation,
Reserved,
}Expand description
Frame kind for easier matching
Variants§
Text
Text frame
Binary
Binary frame
Close
Close frame
Ping
Ping frame
Pong
Pong frame
Continuation
Continuation frame
Reserved
Reserved frame
Trait Implementations§
impl Copy for FrameKind
impl Eq for FrameKind
impl StructuralPartialEq for FrameKind
Auto Trait Implementations§
impl Freeze for FrameKind
impl RefUnwindSafe for FrameKind
impl Send for FrameKind
impl Sync for FrameKind
impl Unpin for FrameKind
impl UnwindSafe for FrameKind
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