Struct netlink_packet_route::rtnl::tc::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§
source§impl<T: AsRef<[u8]>> Parseable<TcMessageBuffer<T>> for TcHeader
impl<T: AsRef<[u8]>> Parseable<TcMessageBuffer<T>> for TcHeader
source§fn parse(buf: &TcMessageBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &TcMessageBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq<TcHeader> for TcHeader
impl PartialEq<TcHeader> for TcHeader
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more