Trait slog::ser::SyncSerialize
[−]
[src]
pub trait SyncSerialize: Send + Sync + 'static + Serialize { }
Value that can be serialized and stored
in Logger
itself.
As Loggers itself must be thread-safe, they can only store values implementing this trait.
Implementors
impl SyncSerialize for usize where
usize: Send + Sync + 'static,impl SyncSerialize for isize where
isize: Send + Sync + 'static,impl SyncSerialize for bool where
bool: Send + Sync + 'static,impl SyncSerialize for char where
char: Send + Sync + 'static,impl SyncSerialize for u8 where
u8: Send + Sync + 'static,impl SyncSerialize for i8 where
i8: Send + Sync + 'static,impl SyncSerialize for u16 where
u16: Send + Sync + 'static,impl SyncSerialize for i16 where
i16: Send + Sync + 'static,impl SyncSerialize for u32 where
u32: Send + Sync + 'static,impl SyncSerialize for i32 where
i32: Send + Sync + 'static,impl SyncSerialize for f32 where
f32: Send + Sync + 'static,impl SyncSerialize for u64 where
u64: Send + Sync + 'static,impl SyncSerialize for i64 where
i64: Send + Sync + 'static,impl SyncSerialize for f64 where
f64: Send + Sync + 'static,impl SyncSerialize for ()
impl SyncSerialize for Arguments<'static>
impl SyncSerialize for &'static str
impl SyncSerialize for String
impl<T: Serialize + Send + Sync + 'static> SyncSerialize for Option<T>
impl<T> SyncSerialize for Arc<T> where
T: SyncSerialize,impl<T> SyncSerialize for Wrapping<T> where
T: SyncSerialize,impl<S: 'static + Serialize, F> SyncSerialize for F where
F: 'static + Sync + Send + for<'c, 'd> Fn(&'c Record<'d>) -> S,impl<F> SyncSerialize for PushLazy<F> where
F: 'static + Sync + Send + for<'c, 'd> Fn(&'c Record<'d>, ValueSerializer<'c>) -> Result<(), Error>,