Struct slog::FnValue[][src]

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

Explicit lazy-closure Value

Trait Implementations

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

Serialize self into Serializer Read more

Auto Trait Implementations

impl<V, F> Send for FnValue<V, F> where
    F: Send

impl<V, F> Sync for FnValue<V, F> where
    F: Sync