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.
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)