Struct netlink_packet_audit::status::StatusMessageBuffer
source · [−]pub struct StatusMessageBuffer<T> { /* private fields */ }
Implementations
sourceimpl<T: AsRef<[u8]>> StatusMessageBuffer<T>
impl<T: AsRef<[u8]>> StatusMessageBuffer<T>
pub fn new(buffer: T) -> StatusMessageBuffer<T>
pub fn new_checked(buffer: T) -> Result<StatusMessageBuffer<T>, DecodeError>
pub fn into_inner(self) -> T
pub fn mask(&self) -> u32
pub fn enabled(&self) -> u32
pub fn failure(&self) -> u32
pub fn pid(&self) -> u32
pub fn rate_limiting(&self) -> u32
pub fn backlog_limit(&self) -> u32
pub fn lost(&self) -> u32
pub fn backlog(&self) -> u32
pub fn feature_bitmap(&self) -> u32
pub fn backlog_wait_time(&self) -> u32
sourceimpl<T: AsRef<[u8]> + AsMut<[u8]>> StatusMessageBuffer<T>
impl<T: AsRef<[u8]> + AsMut<[u8]>> StatusMessageBuffer<T>
pub fn set_mask(&mut self, value: u32)
pub fn set_enabled(&mut self, value: u32)
pub fn set_failure(&mut self, value: u32)
pub fn set_pid(&mut self, value: u32)
pub fn set_rate_limiting(&mut self, value: u32)
pub fn set_backlog_limit(&mut self, value: u32)
pub fn set_lost(&mut self, value: u32)
pub fn set_backlog(&mut self, value: u32)
pub fn set_feature_bitmap(&mut self, value: u32)
pub fn set_backlog_wait_time(&mut self, value: u32)
Trait Implementations
sourceimpl<T: Clone> Clone for StatusMessageBuffer<T>
impl<T: Clone> Clone for StatusMessageBuffer<T>
sourcefn clone(&self) -> StatusMessageBuffer<T>
fn clone(&self) -> StatusMessageBuffer<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T: Debug> Debug for StatusMessageBuffer<T>
impl<T: Debug> Debug for StatusMessageBuffer<T>
sourceimpl<T: AsRef<[u8]>> Parseable<StatusMessageBuffer<T>> for StatusMessage
impl<T: AsRef<[u8]>> Parseable<StatusMessageBuffer<T>> for StatusMessage
sourcefn parse(buf: &StatusMessageBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &StatusMessageBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
sourceimpl<T: PartialEq> PartialEq<StatusMessageBuffer<T>> for StatusMessageBuffer<T>
impl<T: PartialEq> PartialEq<StatusMessageBuffer<T>> for StatusMessageBuffer<T>
sourcefn eq(&self, other: &StatusMessageBuffer<T>) -> bool
fn eq(&self, other: &StatusMessageBuffer<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StatusMessageBuffer<T>) -> bool
fn ne(&self, other: &StatusMessageBuffer<T>) -> bool
This method tests for !=
.
impl<T: Eq> Eq for StatusMessageBuffer<T>
impl<T> StructuralEq for StatusMessageBuffer<T>
impl<T> StructuralPartialEq for StatusMessageBuffer<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for StatusMessageBuffer<T> where
T: RefUnwindSafe,
impl<T> Send for StatusMessageBuffer<T> where
T: Send,
impl<T> Sync for StatusMessageBuffer<T> where
T: Sync,
impl<T> Unpin for StatusMessageBuffer<T> where
T: Unpin,
impl<T> UnwindSafe for StatusMessageBuffer<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more