[][src]Trait lnpbp::lnp::session::Connect

pub trait Connect {
    fn connect(&self, node: &LocalNode) -> Result<Box<dyn Session>, Error>;
}

Required methods

fn connect(&self, node: &LocalNode) -> Result<Box<dyn Session>, Error>

Loading content...

Implementors

impl Connect for NodeAddr[src]

impl Connect for LocalSocketAddr[src]

impl Connect for RemoteNodeAddr[src]

Loading content...