pub trait HasChanMethod {
// Required method
fn chan_method(&self) -> ChannelMethod;
}Expand description
An object that can be connected to via ChannelMethods.
Required Methods§
Sourcefn chan_method(&self) -> ChannelMethod
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".
Implementors§
impl HasChanMethod for OwnedChanTarget
impl HasChanMethod for OwnedCircTarget
impl<D: DirectChanMethodsHelper> HasChanMethod for D
impl<T: HasChanMethod> HasChanMethod for VerbatimLinkSpecCircTarget<T>
Available on crate feature
verbatim only.