pub struct Cancel { /* private fields */ }
Expand description
CANCEL Frame (0x09)
§Frame Contents
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Stream ID |
+-----------+-+-+---------------+-------------------------------+
|Frame Type |0|0| Flags |
+-------------------------------+-------------------------------+
Implementations§
Trait Implementations§
Source§impl Decoder for Cancel
impl Decoder for Cancel
Source§impl Encoder for Cancel
impl Encoder for Cancel
Source§impl FrameVariant for Cancel
impl FrameVariant for Cancel
Source§const FLAGS_MASK: FrameFlags
const FLAGS_MASK: FrameFlags
Mask that flags of a variant must be in.
Source§fn flags(&self) -> FrameFlags
fn flags(&self) -> FrameFlags
Gets the flags of the variant.
Source§const REQUIRED_FLAGS: FrameFlags = _
const REQUIRED_FLAGS: FrameFlags = _
Flags that must be set for a variant.
Auto Trait Implementations§
impl Freeze for Cancel
impl RefUnwindSafe for Cancel
impl Send for Cancel
impl Sync for Cancel
impl Unpin for Cancel
impl UnwindSafe for Cancel
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