Skip to main content

FleetEventSink

Trait FleetEventSink 

Source
pub trait FleetEventSink: Send + Sync {
    // Required method
    fn emit<'life0, 'async_trait>(
        &'life0 self,
        event: FleetEvent,
    ) -> Pin<Box<dyn Future<Output = FleetResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Sink for durable or observable fleet lifecycle events.

Required Methods§

Source

fn emit<'life0, 'async_trait>( &'life0 self, event: FleetEvent, ) -> Pin<Box<dyn Future<Output = FleetResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Emits one event.

Implementors§