Trait slog_term::ThreadSafeTimestampFn[][src]

pub trait ThreadSafeTimestampFn: Fn(&mut dyn Write) -> Result<()> + Send + Sync + UnwindSafe + RefUnwindSafe + 'static { }

Threadsafe timestamp formatting function type

To satify slog-rs thread and unwind safety requirements, the bounds expressed by this trait need to satisfied for a function to be used in timestamp formatting.

Implementors

impl<F> ThreadSafeTimestampFn for F where
    F: Fn(&mut dyn Write) -> Result<()> + Send + Sync,
    F: UnwindSafe + RefUnwindSafe + 'static,
    F: ?Sized
[src]

Loading content...