pub enum FieldNamePolicy {
Journald,
Raw,
JournalApp,
}Variants§
Journald
Trusted journald-compatible field names. Protected _... names are
allowed.
Raw
Journal DATA structure capability only. Stock systemd tooling compatibility is not guaranteed for names outside JOURNALD.
JournalApp
Untrusted application input accepted by journald. Invalid or protected caller fields are dropped.
Trait Implementations§
Source§impl Clone for FieldNamePolicy
impl Clone for FieldNamePolicy
Source§fn clone(&self) -> FieldNamePolicy
fn clone(&self) -> FieldNamePolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FieldNamePolicy
Source§impl Debug for FieldNamePolicy
impl Debug for FieldNamePolicy
Source§impl Default for FieldNamePolicy
impl Default for FieldNamePolicy
Source§fn default() -> FieldNamePolicy
fn default() -> FieldNamePolicy
Returns the “default value” for a type. Read more
impl Eq for FieldNamePolicy
Source§impl PartialEq for FieldNamePolicy
impl PartialEq for FieldNamePolicy
Source§fn eq(&self, other: &FieldNamePolicy) -> bool
fn eq(&self, other: &FieldNamePolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FieldNamePolicy
Auto Trait Implementations§
impl Freeze for FieldNamePolicy
impl RefUnwindSafe for FieldNamePolicy
impl Send for FieldNamePolicy
impl Sync for FieldNamePolicy
impl Unpin for FieldNamePolicy
impl UnsafeUnpin for FieldNamePolicy
impl UnwindSafe for FieldNamePolicy
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