Struct rumqttlog::waiters::Waiters[][src]

pub struct Waiters<T> { /* fields omitted */ }
Expand description

TopicsWaiters are connections which are waiting to be notified of new topics. Notifications can sometimes be false positives for topics a connection (e.g replicator connection and new topic due to replicator data). This connection should be polled again for next notification. Having 2 waiters to prevents infinite waiter loops while trying to add connection back to waiter queue

Implementations

Pushes a request to current wait queue

Pops a request from current wait queue

Pushes a request to next wait queue

Swaps next wait queue with current wait queue

Remove a connection from waiters

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.