pub struct Message<'a> {
pub id: EventID,
pub node: Option<Vec<u8>>,
pub ty: MessageType,
pub body: Body<'a>,
}
Expand description
A parsed message corresponding to a single line from the Linux Audit log
Fields§
§id: EventID
The identifier of the audit event, corresponding to msg=audit(…)
in audit log lines
node: Option<Vec<u8>>
The optional node name, corresponding to node=…
in audit log lines
ty: MessageType
Message type, corresponding to type=…
in audit log lines
body: Body<'a>
The set of key/value parirs
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Message<'a>
impl<'a> RefUnwindSafe for Message<'a>
impl<'a> Send for Message<'a>
impl<'a> Sync for Message<'a>
impl<'a> !Unpin for Message<'a>
impl<'a> UnwindSafe for Message<'a>
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