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

Implementors§

Source§

impl HasChanMethod for OwnedChanTarget

Source§

impl HasChanMethod for OwnedCircTarget

Source§

impl<D: DirectChanMethodsHelper> HasChanMethod for D

Source§

impl<T: HasChanMethod> HasChanMethod for VerbatimLinkSpecCircTarget<T>

Available on crate feature verbatim only.

impl HasChanMethod for BridgeConfig

impl HasChanMethod for Guard

impl HasChanMethod for FirstHop

impl<'a> HasChanMethod for BridgeRelayWithDesc<'a>

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