[−][src]Struct slog_term::CompactFormatSerializer
The Compact format serializer
Implementations
impl<'a> CompactFormatSerializer<'a>
[src][−]
pub fn new(
d: &'a mut dyn RecordDecorator,
history: &'a mut Vec<(Vec<u8>, Vec<u8>)>
) -> Self
[src][−]
d: &'a mut dyn RecordDecorator,
history: &'a mut Vec<(Vec<u8>, Vec<u8>)>
) -> Self
Create CompactFormatSerializer
instance
pub fn finish(&mut self) -> Result<usize>
[src][−]
Write out all the whole stack
Trait Implementations
impl<'a> Serializer for CompactFormatSerializer<'a>
[src][+]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for CompactFormatSerializer<'a>
impl<'a> !Send for CompactFormatSerializer<'a>
impl<'a> !Sync for CompactFormatSerializer<'a>
impl<'a> Unpin for CompactFormatSerializer<'a>
impl<'a> !UnwindSafe for CompactFormatSerializer<'a>
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>,