mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-29 00:00:11 +02:00
stream: expose Timout (#4601)
This commit is contained in:
@@ -78,7 +78,7 @@ pub mod wrappers;
|
|||||||
mod stream_ext;
|
mod stream_ext;
|
||||||
pub use stream_ext::{collect::FromStream, StreamExt};
|
pub use stream_ext::{collect::FromStream, StreamExt};
|
||||||
cfg_time! {
|
cfg_time! {
|
||||||
pub use stream_ext::timeout::Elapsed;
|
pub use stream_ext::timeout::{Elapsed, Timeout};
|
||||||
}
|
}
|
||||||
|
|
||||||
mod empty;
|
mod empty;
|
||||||
|
|||||||
Reference in New Issue
Block a user