pub trait ToMessage {
    fn to_message(self) -> Message;
}
Expand description

Contract for types that provide the ability to cast to a Message type.

Required Methods

Convert the type to a Message

Implementations on Foreign Types

Implementors