Skip to main content

Message

Trait Message 

Source
pub trait Message: 'static + Send {
    type Response: Send;
}
Expand description

A trait to bind the message and its respective response type.

Required Associated Types§

Source

type Response: Send

The response type of the message.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§