pub struct PushPromiseFrame {
pub stream_id: u32,
pub promised_stream_id: u32,
pub header_block: Bytes,
pub end_headers: bool,
}Expand description
PUSH_PROMISE frame (RFC 9113 Section 6.6).
Fields§
§stream_id: u32§promised_stream_id: u32§header_block: Bytes§end_headers: boolImplementations§
Trait Implementations§
Source§impl Clone for PushPromiseFrame
impl Clone for PushPromiseFrame
Source§fn clone(&self) -> PushPromiseFrame
fn clone(&self) -> PushPromiseFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PushPromiseFrame
impl RefUnwindSafe for PushPromiseFrame
impl Send for PushPromiseFrame
impl Sync for PushPromiseFrame
impl Unpin for PushPromiseFrame
impl UnsafeUnpin for PushPromiseFrame
impl UnwindSafe for PushPromiseFrame
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