Struct libc::sockaddr_ctl
source · [−]#[repr(C)]pub struct sockaddr_ctl {
pub sc_len: c_uchar,
pub sc_family: c_uchar,
pub ss_sysaddr: u16,
pub sc_id: u32,
pub sc_unit: u32,
pub sc_reserved: [u32; 5],
}
Fields
sc_len: c_uchar
sc_family: c_uchar
ss_sysaddr: u16
sc_id: u32
sc_unit: u32
sc_reserved: [u32; 5]
Trait Implementations
sourceimpl Clone for sockaddr_ctl
impl Clone for sockaddr_ctl
sourcefn clone(&self) -> sockaddr_ctl
fn clone(&self) -> sockaddr_ctl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for sockaddr_ctl
Auto Trait Implementations
impl RefUnwindSafe for sockaddr_ctl
impl Send for sockaddr_ctl
impl Sync for sockaddr_ctl
impl Unpin for sockaddr_ctl
impl UnwindSafe for sockaddr_ctl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more