Struct slog::OwnedKV
[−]
[src]
pub struct OwnedKV<T: ?Sized>(_) where T: ThreadSafeKV;
Owned KV
"Owned" means that the contained data (key-value pairs) can belong
to a Logger
and thus must be thread-safe ('static
, Send
, Sync
)
Zero, one or more owned key-value pairs.
Can be constructed with o!
macro.
Trait Implementations
impl<T: ?Sized> KV for OwnedKV<T> where T: ThreadSafeKV
[src]
fn serialize(&self, record: &Record, serializer: &mut Serializer) -> Result
Serialize self into Serializer
Read more