Struct tpacket_bd_ts

#[repr(C)]
pub struct tpacket_bd_ts { pub ts_sec: c_uint, pub ts_usec: c_uint }

Fields

ts_sec: c_uint
ts_usec: c_uint

Trait Implementations

impl Clone for tpacket_bd_ts

fn clone(&self) -> tpacket_bd_ts

impl Copy for tpacket_bd_ts

impl Debug for tpacket_bd_ts

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for tpacket_bd_ts

impl Hash for tpacket_bd_ts

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for tpacket_bd_ts

fn eq(&self, other: &tpacket_bd_ts) -> bool

impl StructuralPartialEq for tpacket_bd_ts

Auto Trait Implementations

impl Freeze for tpacket_bd_ts

impl RefUnwindSafe for tpacket_bd_ts

impl Send for tpacket_bd_ts

impl Sync for tpacket_bd_ts

impl Unpin for tpacket_bd_ts

impl UnsafeUnpin for tpacket_bd_ts

impl UnwindSafe for tpacket_bd_ts

Blanket Implementations

impl<T> Any for tpacket_bd_ts where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for tpacket_bd_ts where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for tpacket_bd_ts where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for tpacket_bd_ts where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for tpacket_bd_ts

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for tpacket_bd_ts where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for tpacket_bd_ts where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for tpacket_bd_ts where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>