pub struct QuicFrame {
pub frame_type: FrameType,
pub offset: usize,
pub length: usize,
}Expand description
A parsed QUIC frame — a lightweight view into the payload buffer.
Does not own data; offset and length describe the region of the
original buffer that contains this frame.
Fields§
§frame_type: FrameTypeThe frame type.
offset: usizeByte offset in the payload buffer where this frame starts.
length: usizeTotal byte length of this frame (including the type byte).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QuicFrame
impl RefUnwindSafe for QuicFrame
impl Send for QuicFrame
impl Sync for QuicFrame
impl Unpin for QuicFrame
impl UnsafeUnpin for QuicFrame
impl UnwindSafe for QuicFrame
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more