Struct feature_probe_server::base::LogFormatter
source · pub struct LogFormatter<T = SystemTime> { /* private fields */ }Implementations
sourceimpl<T2> LogFormatter<T2>where
T2: FormatTime,
impl<T2> LogFormatter<T2>where
T2: FormatTime,
pub fn with_timer(timer: T2) -> Self
Trait Implementations
sourceimpl<T: Debug> Debug for LogFormatter<T>
impl<T: Debug> Debug for LogFormatter<T>
sourceimpl<C, N, T> FormatEvent<C, N> for LogFormatter<T>where
C: Subscriber + for<'a> LookupSpan<'a>,
N: for<'a> FormatFields<'a> + 'static,
T: FormatTime,
impl<C, N, T> FormatEvent<C, N> for LogFormatter<T>where
C: Subscriber + for<'a> LookupSpan<'a>,
N: for<'a> FormatFields<'a> + 'static,
T: FormatTime,
sourcefn format_event(
&self,
ctx: &FmtContext<'_, C, N>,
writer: Writer<'_>,
event: &Event<'_>
) -> Result
fn format_event(
&self,
ctx: &FmtContext<'_, C, N>,
writer: Writer<'_>,
event: &Event<'_>
) -> Result
Auto Trait Implementations
impl<T> RefUnwindSafe for LogFormatter<T>where
T: RefUnwindSafe,
impl<T> Send for LogFormatter<T>where
T: Send,
impl<T> Sync for LogFormatter<T>where
T: Sync,
impl<T> Unpin for LogFormatter<T>where
T: Unpin,
impl<T> UnwindSafe for LogFormatter<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more