#[repr(C, packed(4))]pub struct DataFrameHeaderDefn {
pub frame_length: i32,
pub version: u8,
pub flags: u8,
pub frame_type: u16,
pub term_offset: i32,
pub session_id: i32,
pub stream_id: i32,
pub term_id: i32,
pub reserved_value: i64,
}
Fields§
§frame_length: i32
§version: u8
§flags: u8
§frame_type: u16
§term_offset: i32
§session_id: i32
§stream_id: i32
§term_id: i32
§reserved_value: i64
Trait Implementations§
Source§impl Clone for DataFrameHeaderDefn
impl Clone for DataFrameHeaderDefn
Source§fn clone(&self) -> DataFrameHeaderDefn
fn clone(&self) -> DataFrameHeaderDefn
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 moreimpl Copy for DataFrameHeaderDefn
Auto Trait Implementations§
impl Freeze for DataFrameHeaderDefn
impl RefUnwindSafe for DataFrameHeaderDefn
impl Send for DataFrameHeaderDefn
impl Sync for DataFrameHeaderDefn
impl Unpin for DataFrameHeaderDefn
impl UnwindSafe for DataFrameHeaderDefn
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