pub struct Http2Frame {
pub frame_type: Http2FrameType,
pub stream_id: u32,
pub flags: u8,
pub payload: Vec<u8>,
pub length: u32,
}
Fields§
§frame_type: Http2FrameType
§stream_id: u32
§flags: u8
§payload: Vec<u8>
§length: u32
Trait Implementations§
Source§impl Clone for Http2Frame
impl Clone for Http2Frame
Source§fn clone(&self) -> Http2Frame
fn clone(&self) -> Http2Frame
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 Http2Frame
impl RefUnwindSafe for Http2Frame
impl Send for Http2Frame
impl Sync for Http2Frame
impl Unpin for Http2Frame
impl UnwindSafe for Http2Frame
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