Struct slog::FnValue [] [src]

pub struct FnValue<V: 'static + Value, F>(pub F)
where
    F: 'static + for<'c, 'd> Fn(&'c Record<'d>) -> V
;

Explicit lazy-closure Value

Trait Implementations

impl<V: 'static + Value, F> Value for FnValue<V, F> where
    F: 'static + for<'c, 'd> Fn(&'c Record<'d>) -> V, 
[src]

Serialize self into Serializer Read more