[][src]Struct slog_glog_fmt::GlogFormat

pub struct GlogFormat<D: Decorator, C: KVCategorizer> { /* fields omitted */ }

A slog Drain for glog-formatted logs.

Implementations

impl<D: Decorator, C: KVCategorizer> GlogFormat<D, C>[src]

pub fn new(decorator: D, categorizer: C) -> GlogFormat<D, C>[src]

Create a glog-formatted Drain using the provided Decorator, and Categorizer

Trait Implementations

impl<D: Decorator, C: KVCategorizer> Drain for GlogFormat<D, C>[src]

type Ok = ()

Type returned by this drain Read more

type Err = Error

Type of potential errors that can be returned by this Drain

Auto Trait Implementations

impl<D, C> RefUnwindSafe for GlogFormat<D, C> where
    C: RefUnwindSafe,
    D: RefUnwindSafe
[src]

impl<D, C> Send for GlogFormat<D, C> where
    C: Send,
    D: Send
[src]

impl<D, C> Sync for GlogFormat<D, C> where
    C: Sync,
    D: Sync
[src]

impl<D, C> Unpin for GlogFormat<D, C> where
    C: Unpin,
    D: Unpin
[src]

impl<D, C> UnwindSafe for GlogFormat<D, C> where
    C: UnwindSafe,
    D: UnwindSafe
[src]

Blanket Implementations

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

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

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

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

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

impl<T> SendRefUnwindSafeDrain for T where
    T: Drain + Send + RefUnwindSafe + ?Sized
[src]

impl<T> SendSyncRefUnwindSafeDrain for T where
    T: Drain + Send + Sync + RefUnwindSafe + ?Sized
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> SendSyncUnwindSafeDrain for T where
    T: Drain + Send + Sync + UnwindSafe + ?Sized
[src]

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.