SubscriberEvent

Trait SubscriberEvent 

Source
pub trait SubscriberEvent:
    Clone
    + Send
    + Sync {
    type Type: SubscriberEventType;

    // Required methods
    fn should_kill(&self) -> bool;
    fn get_type(&self) -> Self::Type;
}

Required Associated Types§

Required Methods§

Source

fn should_kill(&self) -> bool

Source

fn get_type(&self) -> Self::Type

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§