Trait ChannelSource
pub trait ChannelSource: Send + Sync {
// Required method
fn channel(&self, alias: &str) -> Option<Arc<dyn Channel>>;
}Expand description
Supplies outbound delivery channels.
Inbound turns do not arrive through this trait. It covers only the channels the runtime sends through: replies routed by alias, scheduled delivery, and approval prompts.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".