Trait EventHandlerContext

pub trait EventHandlerContext {
    // Required method
    fn commit(&mut self) -> impl Future<Output = Result<(), Error>> + Send;
}

Required Methods§

fn commit(&mut self) -> impl Future<Output = Result<(), Error>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl EventHandlerContext for ()

§

async fn commit(&mut self) -> Result<(), Error>

Implementors§