Trait InternalEvent

Source
pub trait InternalEvent: Sized {
    // Required method
    fn emit(self);

    // Provided method
    fn name(&self) -> Option<&'static str> { ... }
}

Required Methods§

Source

fn emit(self)

Provided Methods§

Source

fn name(&self) -> Option<&'static str>

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§

Source§

impl<E> InternalEvent for CallError<E>
where E: Debug,

Source§

impl<E> InternalEvent for DefaultName<E>
where E: InternalEvent,

Source§

impl<E> InternalEvent for PollReadyError<E>
where E: Debug,

Source§

impl<const INTENTIONAL: bool> InternalEvent for ComponentEventsDropped<'_, INTENTIONAL>