pub enum FrameType {
Data,
Ack,
Close,
Reset,
NegotiateReq,
NegotiateResp,
Unknown(u8),
}Expand description
Protocol frame type indicator.
Variants§
Data
Unreliable or reliable payload data frame.
Ack
Cumulative sequence acknowledgment frame.
Close
Channel termination frame.
Reset
Transport link reset frame.
NegotiateReq
Dynamic protocol negotiation request (Channel 0 only).
NegotiateResp
Dynamic protocol negotiation response (Channel 0 only).
Unknown(u8)
Unrecognized frame type received over the wire.
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