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§
Source§impl<'de> Deserialize<'de> for Key
impl<'de> Deserialize<'de> for Key
Source§fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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