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; 24],
}
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; 24]
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.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for sockaddr_dl
impl Debug for sockaddr_dl
sourceimpl Hash for sockaddr_dl
impl Hash for sockaddr_dl
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
sourceimpl PartialEq<sockaddr_dl> for sockaddr_dl
impl PartialEq<sockaddr_dl> for sockaddr_dl
sourcefn eq(&self, other: &sockaddr_dl) -> bool
fn eq(&self, other: &sockaddr_dl) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &sockaddr_dl) -> bool
fn ne(&self, other: &sockaddr_dl) -> bool
This method tests for !=
.
impl Copy for sockaddr_dl
impl Eq for sockaddr_dl
impl StructuralEq for sockaddr_dl
impl StructuralPartialEq 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
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more