Struct rumqttlog::Connection[][src]

pub struct Connection {
    pub conn: ConnectionType,
    // some fields omitted
}
Expand description

Used to register a new connection with the router Connection messages encompasses a handle for router to communicate with this connection

Fields

conn: ConnectionType

Kind of connection. A replicator connection or a device connection Replicator connection are only created from inside this library. All the external connections are of ‘device’ type

Implementations

Sends notification and returns status to unschedule this connection

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.