Trait mio_misc::queue::NotificationReceiver [−][src]
pub trait NotificationReceiver: Send + Sync {
fn receive(&self) -> Option<NotificationId>;
fn len(&self) -> usize;
fn is_empty(&self) -> bool;
}
Expand description
Represents the side that receives event notifications
Required methods
fn receive(&self) -> Option<NotificationId>
fn receive(&self) -> Option<NotificationId>
Retrieves the next notification, if there’s any