Struct tk_cantal::Connection
[−]
[src]
pub struct Connection { /* fields omitted */ }
Connection abstraction used to fetch data from the cantal
Internally this structure contains a connection pool that reconnects when connection is broken.
Methods
impl Connection
[src]
pub fn get_peers(&self) -> ResponseFuture<PeersResponse>
[src]
Start a request that returns a list of peers known to cantal