Struct slog::OwnedKV [−][src]
pub struct OwnedKV<T: ?Sized>(_)
where
T: SendSyncRefUnwindSafeKV;
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: SendSyncRefUnwindSafeKV, [src]
impl<T: ?Sized> KV for OwnedKV<T> where
T: SendSyncRefUnwindSafeKV, fn serialize(&self, record: &Record, serializer: &mut Serializer) -> Result[src]
fn serialize(&self, record: &Record, serializer: &mut Serializer) -> ResultSerialize self into Serializer Read more
impl<T> From<OwnedKV<T>> for OwnedKVList where
T: SendSyncRefUnwindSafeKV + 'static, [src]
impl<T> From<OwnedKV<T>> for OwnedKVList where
T: SendSyncRefUnwindSafeKV + 'static,