Struct libc::sockaddr_dl
source · #[repr(C)]pub struct sockaddr_dl {
pub sdl_len: c_uchar,
pub sdl_family: c_uchar,
pub sdl_index: c_ushort,
pub sdl_type: c_uchar,
pub sdl_nlen: c_uchar,
pub sdl_alen: c_uchar,
pub sdl_slen: c_uchar,
pub sdl_data: [c_char; 12],
}
Fields§
§sdl_len: c_uchar
§sdl_family: c_uchar
§sdl_index: c_ushort
§sdl_type: c_uchar
§sdl_nlen: c_uchar
§sdl_alen: c_uchar
§sdl_slen: c_uchar
§sdl_data: [c_char; 12]
Trait Implementations§
source§impl Clone for sockaddr_dl
impl Clone for sockaddr_dl
source§fn clone(&self) -> sockaddr_dl
fn clone(&self) -> sockaddr_dl
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_dl
Auto Trait Implementations§
impl Freeze for sockaddr_dl
impl RefUnwindSafe for sockaddr_dl
impl Send for sockaddr_dl
impl Sync for sockaddr_dl
impl Unpin for sockaddr_dl
impl UnwindSafe for sockaddr_dl
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
)