Skip to main content

EventSink

Trait EventSink 

Source
pub trait EventSink: Send + Sync {
    // Required method
    fn try_send(&self, event: Event) -> Result<(), EventSinkError>;
}
Expand description

Non-blocking destination for already-finalized canonical envelopes.

Required Methods§

Source

fn try_send(&self, event: Event) -> Result<(), EventSinkError>

Attempt immediate observational delivery without delaying execution.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§