Struct netlink_packet_audit::status::StatusMessage
source · #[non_exhaustive]pub struct StatusMessage {
pub mask: u32,
pub enabled: u32,
pub failure: u32,
pub pid: u32,
pub rate_limiting: u32,
pub backlog_limit: u32,
pub lost: u32,
pub backlog: u32,
pub feature_bitmap: u32,
pub backlog_wait_time: u32,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.mask: u32
Bit mask for valid entries
enabled: u32
§failure: u32
Failure-to-log action
pid: u32
PID of auditd process
rate_limiting: u32
Message rate limit (per second)
backlog_limit: u32
Waiting messages limit
lost: u32
Messages lost
backlog: u32
Messages waiting in queue
feature_bitmap: u32
bitmap of kernel audit features
backlog_wait_time: u32
Message queue wait timeout
Implementations§
source§impl StatusMessage
impl StatusMessage
Trait Implementations§
source§impl Clone for StatusMessage
impl Clone for StatusMessage
source§fn clone(&self) -> StatusMessage
fn clone(&self) -> StatusMessage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StatusMessage
impl Debug for StatusMessage
source§impl Default for StatusMessage
impl Default for StatusMessage
source§fn default() -> StatusMessage
fn default() -> StatusMessage
Returns the “default value” for a type. Read more
source§impl Emitable for StatusMessage
impl Emitable for StatusMessage
source§impl<T: AsRef<[u8]>> Parseable<StatusMessageBuffer<T>> for StatusMessage
impl<T: AsRef<[u8]>> Parseable<StatusMessageBuffer<T>> for StatusMessage
source§fn parse(buf: &StatusMessageBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &StatusMessageBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq<StatusMessage> for StatusMessage
impl PartialEq<StatusMessage> for StatusMessage
source§fn eq(&self, other: &StatusMessage) -> bool
fn eq(&self, other: &StatusMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StatusMessage
impl StructuralEq for StatusMessage
impl StructuralPartialEq for StatusMessage
Auto Trait Implementations§
impl RefUnwindSafe for StatusMessage
impl Send for StatusMessage
impl Sync for StatusMessage
impl Unpin for StatusMessage
impl UnwindSafe for StatusMessage
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