[][src]Struct slog::SingleKV

pub struct SingleKV<V>(pub Key, pub V)
where
    V: Value
;

Single pair Key and Value

Trait Implementations

impl<V> KV for SingleKV<V> where
    V: Value
[src]

impl<V: Value> From<(String, V)> for SingleKV<V>[src]

impl<V: Value> From<(&'static str, V)> for SingleKV<V>[src]

Auto Trait Implementations

impl<V> Unpin for SingleKV<V> where
    V: Unpin

impl<V> Send for SingleKV<V> where
    V: Send

impl<V> Sync for SingleKV<V> where
    V: Sync

impl<V> RefUnwindSafe for SingleKV<V> where
    V: RefUnwindSafe

impl<V> UnwindSafe for SingleKV<V> where
    V: UnwindSafe

Blanket Implementations

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> SendSyncRefUnwindSafeKV for T where
    T: KV + Send + Sync + RefUnwindSafe + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]