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.

Methods

impl<'a> PushFnValueSerializer<'a>
[src]

Deprecated

: 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>
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

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

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