Expand description
Helper to extract HTTP/gRPC trailers from a tonic stream.
Re-exportsยง
use std::pin::Pin;๐use std::sync::Arc;๐use std::sync::Mutex;๐use std::task::Context;๐use std::task::Poll;๐use futures::FutureExt;๐use futures::Stream;๐use futures::StreamExt;๐use futures::ready;๐use tonic::Status;๐use tonic::Streaming;๐use tonic::metadata::MetadataMap;๐
Structsยง
- Extract
Trailers Stream - [Stream] that stores the gRPC trailers into
LazyTrailers. - Lazy
Trailers - gRPC trailers that are extracted by
ExtractTrailersStream.
Functionsยง
- extract_
lazy_ trailers - Extract
LazyTrailersfrom [Streaming] [tonic] response.
Type Aliasesยง
- Shared
Trailers ๐