Struct slog::PushFnValueSerializer[][src]

pub struct PushFnValueSerializer<'a> { /* fields omitted */ }

Handle passed to PushFnValue closure

It makes sure only one value is serialized, and will automatically emit () if nothing else was serialized.


impl<'a> PushFnValueSerializer<'a>


: Renamed to emit

Emit a value

Emit a value

This consumes self to prevent serializing one value multiple times

Trait Implementations

impl<'a> Drop for PushFnValueSerializer<'a>

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<'a> !Send for PushFnValueSerializer<'a>

impl<'a> !Sync for PushFnValueSerializer<'a>