Struct gain::stream::buf::future::BufRead [−][src]
pub struct BufRead<'a, R, T> where
R: FnOnce(&mut Buf) -> T + Unpin,
T: Default, { /* fields omitted */ }
Expand description
Asynchronous read.
Trait Implementations
Auto Trait Implementations
impl<'a, R, T> !RefUnwindSafe for BufRead<'a, R, T>
impl<'a, R, T> !UnwindSafe for BufRead<'a, R, T>
Blanket Implementations
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.