Struct slog_json::Json [−][src]
Json Drain
Each record will be printed as a Json map
to a given io
Implementations
impl<W> Json<W> where
W: Write,
[src][−]
W: Write,
pub fn default(io: W) -> Json<W>
[src][−]
New Json
Drain
with default key-value pairs added
pub fn new(io: W) -> JsonBuilder<W>
[src][−]
Build custom Json
Drain
Trait Implementations
Auto Trait Implementations
impl<W> !RefUnwindSafe for Json<W>
impl<W> Send for Json<W> where
W: Send,
W: Send,
impl<W> !Sync for Json<W>
impl<W> Unpin for Json<W> where
W: Unpin,
W: Unpin,
impl<W> UnwindSafe for Json<W> where
W: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,