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
sourceimpl Clone for sockaddr_dl
impl Clone for sockaddr_dl
sourcefn clone(&self) -> sockaddr_dl
fn clone(&self) -> sockaddr_dl
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_dl
Auto Trait Implementations
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
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