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 moresource§impl Debug for sockaddr_dl
impl Debug for sockaddr_dl
source§impl Hash for sockaddr_dl
impl Hash for sockaddr_dl
source§impl PartialEq<sockaddr_dl> for sockaddr_dl
impl PartialEq<sockaddr_dl> for sockaddr_dl
source§fn 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 ==
.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§
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