Struct slog::ser::ValueSerializer [] [src]

pub struct ValueSerializer<'a> {
    // some fields omitted
}

A handle to Serializer for PushLazy closure

Methods

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

fn serialize<'b, S: 'b + Serialize>(self, s: S) -> Result<()>

Serialize a value

This consumes self to prevent serializing one value multiple times

Trait Implementations

impl<'a> Drop for ValueSerializer<'a>
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more