pub trait EmbeddedChannelMessage {
// Required methods
fn schema_metadata(&self) -> SchemaMetadata;
fn type_name(&self) -> &'static str;
}Expand description
Type-erased view of a typed channel message passed to an embedded backend.
The embedded SDK path hands this reference directly to the in-process backend; it never asks serde to produce bytes, protocol envelopes, or wire frames.
Required Methods§
Sourcefn schema_metadata(&self) -> SchemaMetadata
fn schema_metadata(&self) -> SchemaMetadata
Returns the compile-time schema metadata declared by the message type.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".