Skip to main content

WarnSink

Type Alias WarnSink 

Source
pub type WarnSink = Arc<dyn Fn(&str) + Send + Sync>;
Expand description

Where run_disk_writer sends its warnings. Each owning crate binds its own logging facility — see the module doc for why this is a parameter rather than a hard-coded tracing::warn!.

Aliased Type§

pub struct WarnSink { /* private fields */ }