ixa::context

Trait IxaEvent

Source
pub trait IxaEvent {
    // Provided method
    fn on_subscribe(_context: &mut Context) { ... }
}

Provided Methods§

Source

fn on_subscribe(_context: &mut Context)

Called every time context.subscribe_to_event is called with this event

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.

Implementors§