[−][src]Struct neli::rtnl::Tcmsg
Message in response to queuing discipline operations
Fields
tcm_family: c_uchar
Family
tcm_ifindex: c_int
Interface index
tcm_handle: u32
Queuing discipline handle
tcm_parent: u32
Parent queuing discipline
tcm_info: u32
Info
rtattrs: Vec<Rtattr<T, Vec<u8>>>
Payload of Rtattr
s
Trait Implementations
impl<T> Nl for Tcmsg<T> where
T: RtaType,
[src]
T: RtaType,
fn serialize(&self, buf: &mut StreamWriteBuffer) -> Result<(), SerError>
[src]
fn deserialize<B>(buf: &mut StreamReadBuffer<B>) -> Result<Self, DeError> where
B: AsRef<[u8]>,
[src]
B: AsRef<[u8]>,
fn size(&self) -> usize
[src]
fn asize(&self) -> usize
[src]
fn pad(&self, m: &mut StreamWriteBuffer) -> Result<(), SerError>
[src]
fn strip<T>(&self, m: &mut StreamReadBuffer<T>) -> Result<(), DeError> where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
Auto Trait Implementations
impl<T> Send for Tcmsg<T> where
T: Send,
T: Send,
impl<T> Sync for Tcmsg<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Tcmsg<T> where
T: Unpin,
T: Unpin,
impl<T> RefUnwindSafe for Tcmsg<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> UnwindSafe for Tcmsg<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,