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 [u8]
impl SyncSerialize for Vec<u8>
impl<T: Serialize> SyncSerialize for Option<T>
impl SyncSerialize for String
impl SyncSerialize for &'static str where &'static str: Send + Sync
impl SyncSerialize for usize where usize: Send + Sync
impl SyncSerialize for isize where isize: Send + Sync
impl SyncSerialize for bool where bool: Send + Sync
impl SyncSerialize for char where char: Send + Sync
impl SyncSerialize for u8 where u8: Send + Sync
impl SyncSerialize for i8 where i8: Send + Sync
impl SyncSerialize for u16 where u16: Send + Sync
impl SyncSerialize for i16 where i16: Send + Sync
impl SyncSerialize for u32 where u32: Send + Sync
impl SyncSerialize for i32 where i32: Send + Sync
impl SyncSerialize for f32 where f32: Send + Sync
impl SyncSerialize for u64 where u64: Send + Sync
impl SyncSerialize for i64 where i64: Send + Sync
impl SyncSerialize for f64 where f64: Send + Sync
impl<S: Serialize, F: 'static + Sync + Send + Fn(&RecordInfo) -> S> SyncSerialize for F