/// Returns a future that gets fulfilled when the event is set.
Returns a future that gets fulfilled when the event is set.
Returns a future that gets fulfilled when the event is set .
pub fn wait(&self) -> GenericWaitForEventFuture<MutexType> {
        GenericWaitForEventFuture {
            event: Some(self),
            wait_node: ListNode::new(WaitQueueEntry::new()),
        }
    }
pub fn wait ( & self ) -> GenericWaitForEventFuture < MutexType > { GenericWaitForEventFuture { event : Some ( self ) , wait_node : ListNode :: new ( WaitQueueEntry :: new ( ) ) , } }
Returns a future that gets fulfilled when the event is set.
Returns a future that gets fulfilled when the event is set .
&self