Struct ifconf

#[repr(C)]
pub struct ifconf { pub ifc_len: c_int, pub ifc_ifcu: __c_anonymous_ifc_ifcu }

Structure used in SIOCGIFCONF request. Used to retrieve interface configuration for machine (useful for programs which must know all networks accessible).

Fields

ifc_len: c_int

Size of buffer

ifc_ifcu: __c_anonymous_ifc_ifcu

Trait Implementations

impl Clone for ifconf

fn clone(&self) -> Self

impl Copy for ifconf

impl Debug for ifconf

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

Auto Trait Implementations

impl !Send for ifconf

impl !Sync for ifconf

impl Freeze for ifconf

impl RefUnwindSafe for ifconf

impl Unpin for ifconf

impl UnsafeUnpin for ifconf

impl UnwindSafe for ifconf

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for ifconf

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for ifconf 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 ifconf where U: Into<T>,

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

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

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