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§
source§impl Clone for sockaddr_ctl
impl Clone for sockaddr_ctl
source§fn clone(&self) -> sockaddr_ctl
fn clone(&self) -> sockaddr_ctl
Returns a copy 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 sockaddr_ctl
impl Debug for sockaddr_ctl
source§impl Hash for sockaddr_ctl
impl Hash for sockaddr_ctl
source§impl PartialEq<sockaddr_ctl> for sockaddr_ctl
impl PartialEq<sockaddr_ctl> for sockaddr_ctl
source§fn 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 ==
.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§
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