Struct netlink_packet_route::rtnl::TcHeader
source · [−]pub struct TcHeader {
pub family: u8,
pub index: i32,
pub handle: u32,
pub parent: u32,
pub info: u32,
}
Fields
family: u8
index: i32
handle: u32
parent: u32
info: u32
Trait Implementations
sourceimpl<T: AsRef<[u8]>> Parseable<TcMessageBuffer<T>> for TcHeader
impl<T: AsRef<[u8]>> Parseable<TcMessageBuffer<T>> for TcHeader
sourcefn parse(buf: &TcMessageBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &TcMessageBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
impl Eq for TcHeader
impl StructuralEq for TcHeader
impl StructuralPartialEq for TcHeader
Auto Trait Implementations
impl RefUnwindSafe for TcHeader
impl Send for TcHeader
impl Sync for TcHeader
impl Unpin for TcHeader
impl UnwindSafe for TcHeader
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