pub struct SimplifiedHeader {
pub fin: bool,
pub rsv1: bool,
pub rsv2: bool,
pub rsv3: bool,
pub code: OpCode,
}Expand description
header with less info
Fields§
§fin: boolfin
rsv1: boolcompressed bit
rsv2: boolreserved
rsv3: boolreserved
code: OpCodeframe type
Trait Implementations§
Source§impl Clone for SimplifiedHeader
impl Clone for SimplifiedHeader
Source§fn clone(&self) -> SimplifiedHeader
fn clone(&self) -> SimplifiedHeader
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 moreSource§impl Debug for SimplifiedHeader
impl Debug for SimplifiedHeader
Source§impl<'a> From<HeaderView<'a>> for SimplifiedHeader
impl<'a> From<HeaderView<'a>> for SimplifiedHeader
Source§fn from(value: HeaderView<'a>) -> Self
fn from(value: HeaderView<'a>) -> Self
Converts to this type from the input type.
impl Copy for SimplifiedHeader
Auto Trait Implementations§
impl Freeze for SimplifiedHeader
impl RefUnwindSafe for SimplifiedHeader
impl Send for SimplifiedHeader
impl Sync for SimplifiedHeader
impl Unpin for SimplifiedHeader
impl UnwindSafe for SimplifiedHeader
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