#[repr(C)]pub struct ifaliasreq {
pub ifra_name: [c_char; 16],
pub ifra_addr: sockaddr,
pub ifra_broadaddr: sockaddr,
pub ifra_mask: sockaddr,
pub ifra_vhid: c_int,
}Fields§
§ifra_name: [c_char; 16]if name, e.g. “en0”
ifra_addr: sockaddr§ifra_broadaddr: sockaddr§ifra_mask: sockaddr§ifra_vhid: c_intTrait Implementations§
Source§impl Clone for ifaliasreq
impl Clone for ifaliasreq
Source§fn clone(&self) -> ifaliasreq
fn clone(&self) -> ifaliasreq
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 ifaliasreq
impl Debug for ifaliasreq
impl Copy for ifaliasreq
Auto Trait Implementations§
impl Freeze for ifaliasreq
impl RefUnwindSafe for ifaliasreq
impl Send for ifaliasreq
impl Sync for ifaliasreq
impl Unpin for ifaliasreq
impl UnwindSafe for ifaliasreq
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