Struct tpacket_block_desc
#[repr(C)]
pub struct tpacket_block_desc { pub version: u32, pub offset_to_priv: u32, pub hdr: tpacket_bd_header_u }
Fields
version: u32offset_to_priv: u32hdr: tpacket_bd_header_u
Trait Implementations
impl Clone for tpacket_block_desc
fn clone(&self) -> tpacket_block_desc
impl Copy for tpacket_block_desc
impl Debug for tpacket_block_desc
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Auto Trait Implementations
impl Freeze for tpacket_block_desc
impl RefUnwindSafe for tpacket_block_desc
impl Send for tpacket_block_desc
impl Sync for tpacket_block_desc
impl Unpin for tpacket_block_desc
impl UnsafeUnpin for tpacket_block_desc
impl UnwindSafe for tpacket_block_desc
Blanket Implementations
impl<T> Any for tpacket_block_desc
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for tpacket_block_desc
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for tpacket_block_desc
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for tpacket_block_desc
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for tpacket_block_desc
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for tpacket_block_desc
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for tpacket_block_desc
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for tpacket_block_desc
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>