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 moreimpl Copy for sockaddr_ctl
Auto Trait Implementations§
impl Freeze for sockaddr_ctl
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)