Struct esp_idf_sys::in_pktinfo
source · [−]#[repr(C)]pub struct in_pktinfo {
pub ipi_ifindex: c_uint,
pub ipi_addr: in_addr,
}
Fields
ipi_ifindex: c_uint
ipi_addr: in_addr
Trait Implementations
sourceimpl Clone for in_pktinfo
impl Clone for in_pktinfo
sourcefn clone(&self) -> in_pktinfo
fn clone(&self) -> in_pktinfo
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for in_pktinfo
impl Debug for in_pktinfo
sourceimpl Default for in_pktinfo
impl Default for in_pktinfo
sourcefn default() -> in_pktinfo
fn default() -> in_pktinfo
Returns the “default value” for a type. Read more
impl Copy for in_pktinfo
Auto Trait Implementations
impl RefUnwindSafe for in_pktinfo
impl Send for in_pktinfo
impl Sync for in_pktinfo
impl Unpin for in_pktinfo
impl UnwindSafe for in_pktinfo
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more