pub fn block_timeout(&self, timeout: Duration) -> Result<(), ()> {
        if let Some(Ok(_)) = self.timeout_iter(timeout).next() {
            self.process_ready()
        } else {
            Err(())
        }
    }
/// Block until we have at least one event
Block until we have at least one event
Block until we have at least one event
pub fn block_timeout(&self, timeout: Duration) -> Result<(), ()> {
        if let Some(Ok(_)) = self.timeout_iter(timeout).next() {
            self.process_ready()
        } else {
            Err(())
        }
    }
pub fn block_timeout ( & self , timeout : Duration ) -> Result < ( ) , ( ) > { if let Some ( Ok ( _ ) ) = self . timeout_iter ( timeout ) . next ( ) { self . process_ready ( ) } else { Err ( ( ) ) } }
Block until we have at least one event
Block until we have at least one event
&self
timeout
Duration
&self
timeout
Duration