pub trait Scalar: ScalarCodec + MessageId {
// Provided method
fn to_message(&self) -> ScalarMessage
where Self: Sized { ... }
}Expand description
stack allocated message with no response
Provided Methods§
fn to_message(&self) -> ScalarMessagewhere
Self: Sized,
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.