Struct buf_read_ext::AsyncStreamUntilTokenOutput [] [src]

pub struct AsyncStreamUntilTokenOutput<R, W> {
    pub stream: R,
    pub out: W,
    pub bytes_streamed: usize,
    pub token_found: bool,
}

A completed AsyncStreamUntilToken future yields this value, which returns the streams, as well as the number of bytes streamed and whether or not the token was found.

Fields