Skip to main content

IEventRequest

Trait IEventRequest 

Source
pub trait IEventRequest:
    Clone
    + Send
    + 'static { }
Expand description

Marker trait for an event (notification) that does not produce a response.

Use IEventRequest for fire-and-forget notifications.

impl IEventRequest for UserCreatedEvent {}

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§