Expand description
§Event field types
These are the types that can be used in event fields. They are built-in Rust types wherever possible, newtype wrappers in some cases, or new dedicated types.
Re-exports§
pub use crate::fields::dynamic_params::*;
pub use crate::fields::event_flags::*;
Modules§
- Types used in the owned variants of event structs
Structs§
- A measurement of the system clock, useful for talking to external entities like the file system or other processes.
- Boolean value (0/1)
- Syscall result
- File descriptor
- A list of file descriptors with flags
- A slice of a path (akin to
str
). - A relative path
- Group id
- An IP network
- An IPv4 address.
- An IPv4 network
- An IPv6 address.
- An IPv6 network
- Process or thread id
- IP port number
- A
Duration
type to represent a span of time, typically used for system timeouts. - Signal set (bitmask of signals, only the lower 32 bits are used)
- A signal number
- Socket family (
PPM_AF_*
) - A system call number
- User id
Enums§
- An IP address, either IPv4 or IPv6.
- A socket address
- Socket tuple: describing both endpoints of a connection
Type Aliases§
- Arbitrary byte buffer (
[u8]
) - C-style string (CStr)
- Array of C-style strings (
Vec<&CStr>
) - Array of pairs of C-style strings (
Vec<(&CStr, &CStr)>
) - Signed 8-bit value (i8)
- Signed 16-bit value (i16)
- Signed 32-bit value (i32)
- Signed 64-bit value (i64)
- Unsigned 8-bit value (u8)
- Unsigned 16-bit value (u16)
- Unsigned 32-bit value (u32)
- Unsigned 64-bit value (u64)