Trait LogFieldContributor

Source
pub trait LogFieldContributor {
    // Required method
    fn add_fields<F>(&self, serializer: &mut F)
       where F: LogFieldReceiver;
}

Required Methods§

Source

fn add_fields<F>(&self, serializer: &mut F)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl LogFieldContributor for ()

Source§

fn add_fields<F>(&self, _serializer: &mut F)

Implementors§