pub trait MessageExt: Message {
// Provided methods
fn build_payload(self) -> (Payload<Self>, Output<Self>)
where Self: Sized { ... }
fn destroy_payload(payload: Payload<Self>) -> Self
where Self: Sized { ... }
}Expand description
A trait that extends Message with some helper methods.
Provided Methods§
fn build_payload(self) -> (Payload<Self>, Output<Self>)where
Self: Sized,
fn destroy_payload(payload: Payload<Self>) -> Selfwhere
Self: Sized,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".