Struct tk_carbon::Init [] [src]

pub struct Init { /* fields omitted */ }

A helper structure for initializing protocol instance

Methods

impl Init
[src]

[src]

Wrap existing connection into a future that implements carbon protocol

impl Init
[src]

[src]

Establishes connections to all the hosts

This method spawns a future (or futures) in the loop represented by handle. The future exits when all references to API (Carbon structure) are dropped and all buffers are flushed.