Struct rtattr
#[repr(C)]
pub struct rtattr { pub rta_len: c_ushort, pub rta_type: c_ushort }
Fields
rta_len: c_ushortrta_type: c_ushort
Trait Implementations
impl Clone for rtattr
fn clone(&self) -> rtattr
impl Copy for rtattr
impl Debug for rtattr
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for rtattr
impl Hash for rtattr
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for rtattr
fn eq(&self, other: &rtattr) -> bool
impl StructuralPartialEq for rtattr
Auto Trait Implementations
impl Freeze for rtattr
impl RefUnwindSafe for rtattr
impl Send for rtattr
impl Sync for rtattr
impl Unpin for rtattr
impl UnsafeUnpin for rtattr
impl UnwindSafe for rtattr
Blanket Implementations
impl<T> Any for rtattr
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for rtattr
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for rtattr
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for rtattr
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for rtattr
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for rtattr
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 rtattr
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for rtattr
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>