[−][src]Struct syslog::Formatter5424
Fields
facility: Facility
hostname: Option<String>
process: String
pid: i32
Implementations
impl Formatter5424
[src]
pub fn format_5424_structured_data(
&self,
data: HashMap<String, HashMap<String, String>>
) -> String
[src]
&self,
data: HashMap<String, HashMap<String, String>>
) -> String
Trait Implementations
impl Clone for Formatter5424
[src]
fn clone(&self) -> Formatter5424
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Formatter5424
[src]
impl<T: Display> LogFormat<(i32, HashMap<String, HashMap<String, String, RandomState>, RandomState>, T)> for Formatter5424
[src]
fn format<W: Write>(
&self,
w: &mut W,
severity: Severity,
log_message: (i32, HashMap<String, HashMap<String, String>>, T)
) -> Result<()>
[src]
&self,
w: &mut W,
severity: Severity,
log_message: (i32, HashMap<String, HashMap<String, String>>, T)
) -> Result<()>
fn emerg<W: Write>(&mut self, w: &mut W, message: T) -> Result<()>
[src]
fn alert<W: Write>(&mut self, w: &mut W, message: T) -> Result<()>
[src]
fn crit<W: Write>(&mut self, w: &mut W, message: T) -> Result<()>
[src]
fn err<W: Write>(&mut self, w: &mut W, message: T) -> Result<()>
[src]
fn warning<W: Write>(&mut self, w: &mut W, message: T) -> Result<()>
[src]
fn notice<W: Write>(&mut self, w: &mut W, message: T) -> Result<()>
[src]
fn info<W: Write>(&mut self, w: &mut W, message: T) -> Result<()>
[src]
fn debug<W: Write>(&mut self, w: &mut W, message: T) -> Result<()>
[src]
Auto Trait Implementations
impl RefUnwindSafe for Formatter5424
impl Send for Formatter5424
impl Sync for Formatter5424
impl Unpin for Formatter5424
impl UnwindSafe for Formatter5424
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,