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 for TcHeader
impl PartialEq for TcHeader
impl Eq for TcHeader
impl StructuralPartialEq for TcHeader
Auto Trait Implementations§
impl Freeze for TcHeader
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)