1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
//! Channel and stream primitives.

#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]

pub use self::{
    async_stream::{
        make_stream, AsyncStream, AsyncStreamScope, AsyncStreamSend, TryAsyncStreamSend,
    },
    channel::{channel, send_once, ReceiveOnce, Receiver, SendOnce, Sender, TrackSend},
    error::{Incomplete, TimedOut},
    util::{NextFuture, StreamNext},
};

#[macro_use]
mod async_stream;

mod channel;
mod error;

mod util;