Enum rumqttlog::router::Notification[][src]

pub enum Notification {
    ConnectionAck(ConnectionAck),
    Message(Message),
    Data(Data),
    Acks(Vec<Packet>),
    Pause,
    Metrics(MetricsReply),
}
Expand description

Notification from router to connection

Variants

ConnectionAck(ConnectionAck)

Connection reply

Tuple Fields of ConnectionAck

0: ConnectionAck
Message(Message)

Individual publish

Tuple Fields of Message

0: Message
Data(Data)

Data reply

Tuple Fields of Data

0: Data
Acks(Vec<Packet>)

Watermarks reply

Tuple Fields of Acks

0: Vec<Packet>
Pause

Connection paused by router

Metrics(MetricsReply)

All metrics

Tuple Fields of Metrics

0: MetricsReply

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.