pub type SinkFactory = Box<dyn Fn() -> Box<dyn OutputSink> + Send + Sync>;Expand description
Factory for constructing fresh OutputSink instances.
When a sink thread times out or panics during shutdown, the feed
worker loses the original sink. If a SinkFactory was provided,
the next restart can construct a fresh sink rather than falling
back to a silent NullSink.
Aliased Typeยง
pub struct SinkFactory(/* private fields */);