Type Alias env_logger::fmt::FormatFn

source ·
pub(crate) type FormatFn = Box<dyn Fn(&mut Formatter, &Record<'_>) -> Result<()> + Sync + Send>;

Aliased Type§

struct FormatFn(Unique<dyn Fn(&mut Formatter, &Record<'_>) -> Result<(), Error> + Sync + Send>, Global);

Fields§

§0: Unique<dyn Fn(&mut Formatter, &Record<'_>) -> Result<(), Error> + Sync + Send>§1: Global

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Box<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.