BridgeChannelInfo

Trait BridgeChannelInfo 

Source
pub trait BridgeChannelInfo<Id: Copy> {
    // Required methods
    fn id(&self) -> Id;
    fn default_route(&self) -> Option<&'static str>;
}
Expand description

Type-erased metadata exposed for channel enumeration and configuration.

Required Methods§

Source

fn id(&self) -> Id

Logical identifier referencing this channel inside the graph.

Source

fn default_route(&self) -> Option<&'static str>

Default backend-specific route/topic/path the bridge recommends binding to.

Implementors§

Source§

impl<Id: Copy, Payload> BridgeChannelInfo<Id> for BridgeChannel<Id, Payload>