Struct in_pktinfo
#[repr(C)]
pub struct in_pktinfo { pub ipi_ifindex: c_int, pub ipi_spec_dst: in_addr, pub ipi_addr: in_addr }
Fields
ipi_ifindex: c_intipi_spec_dst: in_addripi_addr: in_addr
Trait Implementations
impl Clone for in_pktinfo
fn clone(&self) -> in_pktinfo
impl Copy for in_pktinfo
impl Debug for in_pktinfo
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for in_pktinfo
impl Hash for in_pktinfo
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for in_pktinfo
fn eq(&self, other: &in_pktinfo) -> bool
impl StructuralPartialEq for in_pktinfo
Auto Trait Implementations
impl Freeze for in_pktinfo
impl RefUnwindSafe for in_pktinfo
impl Send for in_pktinfo
impl Sync for in_pktinfo
impl Unpin for in_pktinfo
impl UnsafeUnpin for in_pktinfo
impl UnwindSafe for in_pktinfo
Blanket Implementations
impl<T> Any for in_pktinfo
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for in_pktinfo
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for in_pktinfo
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for in_pktinfo
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for in_pktinfo
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for in_pktinfo
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 in_pktinfo
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for in_pktinfo
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>