[][src]Struct syslog::Formatter5424

pub struct Formatter5424 {
    pub facility: Facility,
    pub hostname: Option<String>,
    pub process: String,
    pub pid: i32,
}

Fields

facility: Facilityhostname: Option<String>process: Stringpid: i32

Methods

impl Formatter5424[src]

pub fn format_5424_structured_data(
    &self,
    data: HashMap<String, HashMap<String, String>>
) -> String
[src]

Trait Implementations

impl<T: Display> LogFormat<(i32, HashMap<String, HashMap<String, String, RandomState>, RandomState>, T)> for Formatter5424[src]

impl Clone for Formatter5424[src]

impl Debug for Formatter5424[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]