pub struct HeadersFrame {
pub stream_id: StreamId,
pub end_stream: bool,
pub end_headers: bool,
pub priority: Option<Priority>,
pub header_block: Bytes,
}Expand description
HEADERS frame (type=0x1).
Fields§
§stream_id: StreamId§end_stream: bool§end_headers: bool§priority: Option<Priority>§header_block: BytesHPACK-encoded header block fragment.
Trait Implementations§
Source§impl Clone for HeadersFrame
impl Clone for HeadersFrame
Source§fn clone(&self) -> HeadersFrame
fn clone(&self) -> HeadersFrame
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for HeadersFrame
impl RefUnwindSafe for HeadersFrame
impl Send for HeadersFrame
impl Sync for HeadersFrame
impl Unpin for HeadersFrame
impl UnsafeUnpin for HeadersFrame
impl UnwindSafe for HeadersFrame
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