pub struct PushTcmsg { /* private fields */ }Available on crate feature
tc only.Implementations§
Source§impl PushTcmsg
impl PushTcmsg
Sourcepub fn new_from_slice(other: &[u8]) -> Option<Self>
pub fn new_from_slice(other: &[u8]) -> Option<Self>
Copy from contents from other slice
pub fn as_slice(&self) -> &[u8] ⓘ
pub fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
pub const fn len() -> usize
pub fn family(&self) -> u8
pub fn set_family(&mut self, value: u8)
pub fn ifindex(&self) -> i32
pub fn set_ifindex(&mut self, value: i32)
pub fn handle(&self) -> u32
pub fn set_handle(&mut self, value: u32)
pub fn parent(&self) -> u32
pub fn set_parent(&mut self, value: u32)
pub fn info(&self) -> u32
pub fn set_info(&mut self, value: u32)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PushTcmsg
impl RefUnwindSafe for PushTcmsg
impl Send for PushTcmsg
impl Sync for PushTcmsg
impl Unpin for PushTcmsg
impl UnwindSafe for PushTcmsg
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