#[non_exhaustive]pub enum Framing {
Lines,
JsonValues,
AuditEvents,
Syslog,
}Expand description
How a byte stream splits into records.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Lines
One record per line. Blank lines are skipped.
JsonValues
JSON values one after another, separated by any whitespace, as
evtx_dump writes them.
AuditEvents
Linux audit lines, grouped into one record per event by their
msg=audit(time:serial), whether or not they are adjacent. Needs
auditd decoding.
Syslog
Syslog messages framed as RFC 6587 describes, each either preceded by
its length in bytes and a space or ending at its line’s end, as
senders over TCP write them. Needs a syslog decoding.
Trait Implementations§
impl Copy for Framing
Source§impl<'de> Deserialize<'de> for Framing
impl<'de> Deserialize<'de> for Framing
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 Framing
impl StructuralPartialEq for Framing
Auto Trait Implementations§
impl Forget for Framing
impl Freeze for Framing
impl Move for Framing
impl RefUnwindSafe for Framing
impl Send for Framing
impl Sync for Framing
impl Unpin for Framing
impl UnsafeUnpin for Framing
impl UnwindSafe for Framing
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