pub trait BridgeChannelInfo<Id>where
Id: Copy,{
// Required methods
fn id(&self) -> Id;
fn default_route(&self) -> Option<&'static str>;
fn tx_empty_policy(&self) -> TxEmptyPolicy;
}Expand description
Type-erased metadata exposed for channel enumeration and configuration.
Required Methods§
Sourcefn default_route(&self) -> Option<&'static str>
fn default_route(&self) -> Option<&'static str>
Default backend-specific route/topic/path the bridge recommends binding to.
Sourcefn tx_empty_policy(&self) -> TxEmptyPolicy
fn tx_empty_policy(&self) -> TxEmptyPolicy
Static transmit policy for metadata-only messages on this channel.