#[repr(u8)]pub enum FrameType {
Data = 0,
Control = 1,
Heartbeat = 2,
FragmentStart = 3,
FragmentContinuation = 4,
FragmentEnd = 5,
}Expand description
Frame type enumeration
Variants§
Data = 0
Data frame
Control = 1
Control frame
Heartbeat = 2
Heartbeat frame
FragmentStart = 3
Fragment start
FragmentContinuation = 4
Fragment continuation
FragmentEnd = 5
Fragment end
Trait Implementations§
impl Copy for FrameType
impl Eq for FrameType
impl StructuralPartialEq for FrameType
Auto Trait Implementations§
impl Freeze for FrameType
impl RefUnwindSafe for FrameType
impl Send for FrameType
impl Sync for FrameType
impl Unpin for FrameType
impl UnsafeUnpin for FrameType
impl UnwindSafe for FrameType
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