Struct ifreq

#[repr(C)]
pub struct ifreq { pub ifr_name: [c_char; 16], pub ifr_ifru: __c_anonymous_ifr_ifru }

Fields

ifr_name: [c_char; 16]

interface name, e.g. "en0"

ifr_ifru: __c_anonymous_ifr_ifru

Trait Implementations

impl Clone for ifreq

fn clone(&self) -> Self

impl Copy for ifreq

impl Debug for ifreq

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

Auto Trait Implementations

impl !Send for ifreq

impl !Sync for ifreq

impl Freeze for ifreq

impl RefUnwindSafe for ifreq

impl Unpin for ifreq

impl UnsafeUnpin for ifreq

impl UnwindSafe for ifreq

Blanket Implementations

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

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

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

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

impl<T> From<T> for ifreq

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

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

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