ruyi 0.1.6

An event-driven framework for non-blocking, asynchronous I/O in Rust
Documentation
1
2
3
4
5
6
7
use futures::Future;

pub trait Timeout {
    type Future: Future;

    fn timeout(self, secs: u64) -> Self::Future;
}