Skip to main content

Module streams

Module streams 

Source
Expand description

Re-exportsยง

use crate::error::FlightError; ๐Ÿ”’
use futures::FutureExt; ๐Ÿ”’
use futures::Stream; ๐Ÿ”’
use futures::StreamExt; ๐Ÿ”’
use futures::channel::oneshot::Receiver; ๐Ÿ”’
use futures::channel::oneshot::Sender; ๐Ÿ”’
use std::pin::Pin; ๐Ÿ”’
use std::task::Poll; ๐Ÿ”’
use std::task::ready; ๐Ÿ”’

Structsยง

FallibleRequestStream
Wrapper around a fallible stream (one that returns errors) that makes it infallible.
FallibleTonicResponseStream ๐Ÿ”’
Wrapper for a tonic response stream that maps errors to FlightError and returns errors from a oneshot channel into the stream.