Struct netlink_packet_route::rtnl::tc::TcHeader
source · #[non_exhaustive]pub struct TcHeader {
pub family: u8,
pub index: i32,
pub handle: u32,
pub parent: u32,
pub info: u32,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.family: u8§index: i32§handle: u32§parent: u32§info: u32Trait 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.