Struct slog::ser::ValueSerializer
[−]
[src]
pub struct ValueSerializer<'a> { /* 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<(), Error>
Serialize a value
This consumes self
to prevent serializing one value multiple times