Skip to main content

HasChanMethod

Trait HasChanMethod 

Source
pub trait HasChanMethod {
    // Required method
    fn chan_method(&self) -> ChannelMethod;
}
Expand description

An object that can be connected to via ChannelMethods.

Required Methods§

Source

fn chan_method(&self) -> ChannelMethod

Return the known ways to contact this

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl HasChanMethod for BridgeConfig

Source§

impl HasChanMethod for FirstHop

Source§

impl<'a> HasChanMethod for BridgeRelay<'a>

Implementors§