Struct slog_atomic::AtomicSwitch [] [src]

pub struct AtomicSwitch<E>(_);

Drain allowing atomically switching a sub-drain in runtime

Trait Implementations

impl<E> Drain for AtomicSwitch<E>
[src]

Type of potential error returned during logging

Write one logging record As an optimization (avoiding allocations), loggers are responsible for providing a byte buffer, that Drain can use for their own needs. Read more