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 more
sourceimpl Debug for sockaddr_ctl
impl Debug for sockaddr_ctl
sourceimpl Hash for sockaddr_ctl
impl Hash for sockaddr_ctl
sourceimpl PartialEq<sockaddr_ctl> for sockaddr_ctl
impl PartialEq<sockaddr_ctl> for sockaddr_ctl
sourcefn eq(&self, other: &sockaddr_ctl) -> bool
fn eq(&self, other: &sockaddr_ctl) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &sockaddr_ctl) -> bool
fn ne(&self, other: &sockaddr_ctl) -> bool
This method tests for !=
.
impl Copy for sockaddr_ctl
impl Eq for sockaddr_ctl
impl StructuralEq for sockaddr_ctl
impl StructuralPartialEq 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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