Struct netlink_packet_route::tc::TcHeader
source · pub struct TcHeader {
pub family: AddressFamily,
pub index: i32,
pub handle: TcHandle,
pub parent: TcHandle,
pub info: u32,
}
Fields§
§family: AddressFamily
§index: i32
§handle: TcHandle
§parent: TcHandle
§info: u32
Implementations§
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 for TcHeader
impl PartialEq 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