Skip to main content

LoopSink

Trait LoopSink 

Source
pub trait LoopSink: Send + Sync {
    // Required method
    fn deliver(&self, report: &RoundReport);
}
Expand description

Where a finished round’s report goes. Implement this to route reports to Slack, email, a file, a tracker — anywhere. The default is stdout.

Required Methods§

Source

fn deliver(&self, report: &RoundReport)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§