futures-x-io-timeoutable 0.1.1

Timeout ext for futures io and tokio io.
Documentation
1
2
3
4
5
6
7
8
9
cfg_if::cfg_if! {
    if #[cfg(all(feature = "futures_io", not(feature = "tokio_io")))] {
        pub mod rw;
        pub use rw::{AsyncReadWithTimeoutExt, AsyncWriteWithTimeoutExt};
    } else if #[cfg(all(not(feature = "futures_io"), feature = "tokio_io"))] {
        pub mod rw;
        pub use rw::{AsyncReadWithTimeoutExt, AsyncWriteWithTimeoutExt};
    }
}