pub trait EmbeddedChannelBackend:
Debug
+ Send
+ Sync {
// Required method
fn publish(
&self,
message: &dyn EmbeddedChannelMessage,
) -> Result<PressureResponse, SdkError>;
}Expand description
Direct in-process channel backend used by embedded handles.
Required Methods§
Sourcefn publish(
&self,
message: &dyn EmbeddedChannelMessage,
) -> Result<PressureResponse, SdkError>
fn publish( &self, message: &dyn EmbeddedChannelMessage, ) -> Result<PressureResponse, SdkError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".