pub struct PriorityMappings {
pub error: Priority,
pub warn: Priority,
pub info: Priority,
pub debug: Priority,
pub trace: Priority,
}Expand description
Mappings from tracing [Level]s to journald priorities.
Fieldsยง
ยงerror: PriorityPriority mapped to the ERROR level
warn: PriorityPriority mapped to the WARN level
info: PriorityPriority mapped to the INFO level
debug: PriorityPriority mapped to the DEBUG level
trace: PriorityPriority mapped to the TRACE level
Implementationsยง
Sourceยงimpl PriorityMappings
impl PriorityMappings
Sourcepub fn new() -> PriorityMappings
pub fn new() -> PriorityMappings
Returns the default priority mappings:
Trait Implementationsยง
Sourceยงimpl Clone for PriorityMappings
impl Clone for PriorityMappings
Sourceยงfn clone(&self) -> PriorityMappings
fn clone(&self) -> PriorityMappings
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Debug for PriorityMappings
impl Debug for PriorityMappings
Auto Trait Implementationsยง
impl Freeze for PriorityMappings
impl RefUnwindSafe for PriorityMappings
impl Send for PriorityMappings
impl Sync for PriorityMappings
impl Unpin for PriorityMappings
impl UnwindSafe for PriorityMappings
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