Struct sockaddr_ll
#[repr(C)]
pub struct sockaddr_ll { pub sll_family: c_ushort, pub sll_protocol: c_ushort, pub sll_ifindex: c_int, pub sll_hatype: c_ushort, pub sll_pkttype: c_uchar, pub sll_halen: c_uchar, pub sll_addr: [c_uchar; 8] }
Fields
sll_family: c_ushortsll_protocol: c_ushortsll_ifindex: c_intsll_hatype: c_ushortsll_pkttype: c_ucharsll_halen: c_ucharsll_addr: [c_uchar; 8]
Trait Implementations
impl Clone for sockaddr_ll
fn clone(&self) -> sockaddr_ll
impl Copy for sockaddr_ll
impl Debug for sockaddr_ll
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for sockaddr_ll
impl Hash for sockaddr_ll
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for sockaddr_ll
fn eq(&self, other: &sockaddr_ll) -> bool
impl StructuralPartialEq for sockaddr_ll
Auto Trait Implementations
impl Freeze for sockaddr_ll
impl RefUnwindSafe for sockaddr_ll
impl Send for sockaddr_ll
impl Sync for sockaddr_ll
impl Unpin for sockaddr_ll
impl UnsafeUnpin for sockaddr_ll
impl UnwindSafe for sockaddr_ll
Blanket Implementations
impl<T> Any for sockaddr_ll
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for sockaddr_ll
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for sockaddr_ll
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for sockaddr_ll
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for sockaddr_ll
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for sockaddr_ll
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for sockaddr_ll
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for sockaddr_ll
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>