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
Swaps next wait queue with current wait queue