Trait slog::ser::SyncMultiSerialize
[−]
[src]
pub trait SyncMultiSerialize: Send + Sync + 'static { fn head(&self) -> (&'static str, &SyncSerialize); fn tail(&self) -> Option<&SyncMultiSerialize>; }
Multiple key-values pairs that can be serialized
Required Methods
fn head(&self) -> (&'static str, &SyncSerialize)
Key and value of the first key-value pair
fn tail(&self) -> Option<&SyncMultiSerialize>
Next key-value pair (and all following ones)
Implementors
impl<A: SyncSerialize> SyncMultiSerialize for (&'static str, A)
impl<A: SyncSerialize, R: SyncMultiSerialize> SyncMultiSerialize for (&'static str, A, R)