Expand description
FallibleRequestStream and FallibleTonicResponseStream adapters
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ยง
- Fallible
Request Stream - Wrapper around a fallible stream (one that returns errors) that makes it infallible.
- Fallible
Tonic ๐Response Stream - Wrapper for a tonic response stream that maps errors to
FlightErrorand returns errors from a oneshot channel into the stream.