pub struct RequestN {
pub request_n: u32,
/* private fields */
}
Expand description
REQUEST_N Frame (0x08)
§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 |
+-------------------------------+-------------------------------+
|0| Request N |
+---------------------------------------------------------------+
Fields§
§request_n: u32
Request N
Unsigned 31-bit integer representing the number of items to request. Value MUST be > 0.
Implementations§
Trait Implementations§
Source§impl Decoder for RequestN
impl Decoder for RequestN
Source§impl Encoder for RequestN
impl Encoder for RequestN
Source§impl FrameVariant for RequestN
impl FrameVariant for RequestN
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 RequestN
impl RefUnwindSafe for RequestN
impl Send for RequestN
impl Sync for RequestN
impl Unpin for RequestN
impl UnwindSafe for RequestN
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