Skip to main content

ExchangeSink

Type Alias ExchangeSink 

Source
pub type ExchangeSink = Arc<dyn Fn(&ExchangeRecord) -> Result<(), String> + Send + Sync>;
Expand description

Receives each exchange record; an error is counted, never propagated.

Aliased Typeยง

pub struct ExchangeSink { /* private fields */ }