Struct tracing_subscriber::fmt::format::FieldFn [−][src]
A FormatFields
implementation that formats fields by calling a function
or closure.
Trait Implementations
impl<F: Clone> Clone for FieldFn<F>
[src]
impl<F: Debug> Debug for FieldFn<F>
[src]
impl<'a, F> MakeVisitor<&'a mut (dyn Write + 'a)> for FieldFn<F> where
F: Fn(&mut dyn Write, &Field, &dyn Debug) -> Result + Clone,
[src]
F: Fn(&mut dyn Write, &Field, &dyn Debug) -> Result + Clone,
type Visitor = FieldFnVisitor<'a, F>
The visitor type produced by this MakeVisitor
.
fn make_visitor(&self, writer: &'a mut dyn Write) -> Self::Visitor
[src]
Auto Trait Implementations
impl<F> RefUnwindSafe for FieldFn<F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
impl<F> Send for FieldFn<F> where
F: Send,
F: Send,
impl<F> Sync for FieldFn<F> where
F: Sync,
F: Sync,
impl<F> Unpin for FieldFn<F> where
F: Unpin,
F: Unpin,
impl<F> UnwindSafe for FieldFn<F> where
F: UnwindSafe,
F: 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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, M> MakeExt<T> for M where
M: MakeVisitor<T> + Sealed<MakeExtMarker<T>>,
[src]
M: MakeVisitor<T> + Sealed<MakeExtMarker<T>>,
fn debug_alt(self) -> Alt<Self>
[src]
fn display_messages(self) -> Messages<Self>
[src]
fn delimited<D>(self, delimiter: D) -> Delimited<D, Self> where
D: AsRef<str> + Clone,
Self::Visitor: VisitFmt,
[src]
D: AsRef<str> + Clone,
Self::Visitor: VisitFmt,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,