pub struct LinkAddr(pub sockaddr_ll);
Expand description
Hardware Address
Tuple Fields
0: sockaddr_ll
Implementations
sourceimpl LinkAddr
impl LinkAddr
sourcepub fn family(&self) -> AddressFamily
pub fn family(&self) -> AddressFamily
Always AF_PACKET
Trait Implementations
impl Copy for LinkAddr
impl Eq for LinkAddr
impl StructuralEq for LinkAddr
impl StructuralPartialEq for LinkAddr
Auto Trait Implementations
impl RefUnwindSafe for LinkAddr
impl Send for LinkAddr
impl Sync for LinkAddr
impl Unpin for LinkAddr
impl UnwindSafe for LinkAddr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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