#[repr(C)]pub struct if_announcemsghdr {
pub ifan_msglen: c_ushort,
pub ifan_version: c_uchar,
pub ifan_type: c_uchar,
pub ifan_index: c_ushort,
pub ifan_name: [c_char; 16],
pub ifan_what: c_ushort,
}Fields§
§ifan_msglen: c_ushortto skip over non-understood messages
ifan_version: c_ucharfuture binary compatibility
ifan_type: c_ucharmessage type
ifan_index: c_ushortindex for associated ifp
ifan_name: [c_char; 16]if name, e.g. “en0”
ifan_what: c_ushortwhat type of announcement
Trait Implementations§
Source§impl Clone for if_announcemsghdr
impl Clone for if_announcemsghdr
Source§fn clone(&self) -> if_announcemsghdr
fn clone(&self) -> if_announcemsghdr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for if_announcemsghdr
impl Debug for if_announcemsghdr
impl Copy for if_announcemsghdr
Auto Trait Implementations§
impl Freeze for if_announcemsghdr
impl RefUnwindSafe for if_announcemsghdr
impl Send for if_announcemsghdr
impl Sync for if_announcemsghdr
impl Unpin for if_announcemsghdr
impl UnwindSafe for if_announcemsghdr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more