Enum linux_audit_parser::Key
source · pub enum Key {
Name(TinyVec<[u8; 14]>),
NameUID(TinyVec<[u8; 14]>),
NameGID(TinyVec<[u8; 14]>),
Common(Common),
NameTranslated(TinyVec<[u8; 14]>),
Arg(u32, Option<u16>),
ArgLen(u32),
Literal(&'static str),
}Expand description
Representation of the key part of key/value pairs in Body
Variants§
Name(TinyVec<[u8; 14]>)
regular ASCII-only name as returned by parser
NameUID(TinyVec<[u8; 14]>)
ASCII-only name for UID fields
NameGID(TinyVec<[u8; 14]>)
ASCII-only name for GID fields
Common(Common)
special case for common values
NameTranslated(TinyVec<[u8; 14]>)
regular ASCII-only name, output/serialization in all-caps, for translated / “enriched” values
Arg(u32, Option<u16>)
special case for argument lists: a0, a1, (SYSCALL and
EXECVE); a2[0], a2[1] (EXECVE)
ArgLen(u32)
a0_len as found in EXECVE lines
Literal(&'static str)
Not returned by parser
Trait Implementations§
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
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)