pub struct OwnedKV<T>(/* private fields */)
where
T: SendSyncRefUnwindSafeKV + ?Sized;
Expand description
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§
Source§impl<T> From<OwnedKV<T>> for OwnedKVListwhere
T: SendSyncRefUnwindSafeKV + 'static,
impl<T> From<OwnedKV<T>> for OwnedKVListwhere
T: SendSyncRefUnwindSafeKV + 'static,
Auto Trait Implementations§
impl<T> Freeze for OwnedKV<T>
impl<T> RefUnwindSafe for OwnedKV<T>where
T: ?Sized,
impl<T> Send for OwnedKV<T>where
T: ?Sized,
impl<T> Sync for OwnedKV<T>where
T: ?Sized,
impl<T> Unpin for OwnedKV<T>
impl<T> UnwindSafe for OwnedKV<T>where
T: UnwindSafe + ?Sized,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more