pub struct EventFormatter<const VISITOR_SIZE: usize, F, T> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<const VISITOR_SIZE: usize, F, T, S, N> FormatEvent<S, N> for EventFormatter<VISITOR_SIZE, F, T>where
F: FormatEvent<S, N>,
T: Fn(&Metadata<'static>) -> Option<Level> + Send + Sync,
S: Subscriber + for<'a> LookupSpan<'a>,
N: for<'a> FormatFields<'a> + 'static,
impl<const VISITOR_SIZE: usize, F, T, S, N> FormatEvent<S, N> for EventFormatter<VISITOR_SIZE, F, T>where
F: FormatEvent<S, N>,
T: Fn(&Metadata<'static>) -> Option<Level> + Send + Sync,
S: Subscriber + for<'a> LookupSpan<'a>,
N: for<'a> FormatFields<'a> + 'static,
Source§fn format_event(
&self,
ctx: &FmtContext<'_, S, N>,
writer: Writer<'_>,
event: &Event<'_>,
) -> Result
fn format_event( &self, ctx: &FmtContext<'_, S, N>, writer: Writer<'_>, event: &Event<'_>, ) -> Result
Auto Trait Implementations§
impl<const VISITOR_SIZE: usize, F, T> Freeze for EventFormatter<VISITOR_SIZE, F, T>
impl<const VISITOR_SIZE: usize, F, T> RefUnwindSafe for EventFormatter<VISITOR_SIZE, F, T>where
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<const VISITOR_SIZE: usize, F, T> Send for EventFormatter<VISITOR_SIZE, F, T>
impl<const VISITOR_SIZE: usize, F, T> Sync for EventFormatter<VISITOR_SIZE, F, T>
impl<const VISITOR_SIZE: usize, F, T> Unpin for EventFormatter<VISITOR_SIZE, F, T>
impl<const VISITOR_SIZE: usize, F, T> UnwindSafe for EventFormatter<VISITOR_SIZE, F, T>where
F: UnwindSafe,
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more