pub trait TrivialSinkType: Send + 'static {
const TRACE_LOG: bool;
const SINK_NAME: &'static str;
}
Required Associated Constants§
Sourceconst TRACE_LOG: bool
const TRACE_LOG: bool
Whether to enable trace
log for every item to sink.
Note that logs (tracing events) with trace
level will be optimized out in release build
thus cannot be enabled at all. This is for debugging purpose only.
const SINK_NAME: &'static str
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.