pub struct Formatter5424 {
pub facility: Facility,
pub hostname: Option<String>,
pub process: String,
pub pid: u32,
}Fields§
§facility: Facility§hostname: Option<String>§process: String§pid: u32Trait Implementations§
Source§impl Clone for Formatter5424
impl Clone for Formatter5424
Source§fn clone(&self) -> Formatter5424
fn clone(&self) -> Formatter5424
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 Formatter5424
impl Debug for Formatter5424
Source§impl<T: Display> LogFormat<T> for Formatter5424
impl<T: Display> LogFormat<T> for Formatter5424
fn format<W: Write>( &self, w: &mut W, severity: Severity, log_message: T, ) -> Result<(), Error>
fn emerg<W>(&mut self, w: &mut W, message: T) -> Result<(), Error>where
W: Write,
fn alert<W>(&mut self, w: &mut W, message: T) -> Result<(), Error>where
W: Write,
fn crit<W>(&mut self, w: &mut W, message: T) -> Result<(), Error>where
W: Write,
fn err<W>(&mut self, w: &mut W, message: T) -> Result<(), Error>where
W: Write,
fn warning<W>(&mut self, w: &mut W, message: T) -> Result<(), Error>where
W: Write,
fn notice<W>(&mut self, w: &mut W, message: T) -> Result<(), Error>where
W: Write,
fn info<W>(&mut self, w: &mut W, message: T) -> Result<(), Error>where
W: Write,
fn debug<W>(&mut self, w: &mut W, message: T) -> Result<(), Error>where
W: Write,
Auto Trait Implementations§
impl Freeze for Formatter5424
impl RefUnwindSafe for Formatter5424
impl Send for Formatter5424
impl Sync for Formatter5424
impl Unpin for Formatter5424
impl UnwindSafe for Formatter5424
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