Enum mqtt::transport::Tcp [] [src]

pub enum Tcp {
    Server(TcpListener),
    Client(TcpStream),
    Connection(TcpStream, State),
}

Variants

Methods

impl Tcp
[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Transport for Tcp
[src]

[src]

[src]

impl Machine for Tcp
[src]

Seed is piece of data that is needed to initialize the machine Read more

Context type for the state machine Read more

[src]

Create a machine from some data Read more

[src]

Socket readiness notification

[src]

Called after spawn event Read more

[src]

Timeout happened

[src]

Message received Read more

[src]

Called instead of spawned, if there is no slab space Read more