[][src]Trait moteconnection::transport::TransportBuilder

pub trait TransportBuilder {
    fn start(&self) -> Transport;
fn set_reconnect_timeout(&mut self, timeout: Duration); }

Provides the ability to create a Transport instance.

Required methods

fn start(&self) -> Transport

Starts the transport manager and returns the handle.

fn set_reconnect_timeout(&mut self, timeout: Duration)

Sets the timeout for reconnecting to the underlying transport.

Loading content...

Implementors

impl TransportBuilder for SerialBuilder[src]

impl TransportBuilder for SFBuilder[src]

Loading content...