Skip to main content

ResponseStream

Type Alias ResponseStream 

Source
type ResponseStream<T> = Pin<Box<dyn Stream<Item = Result<T, Status>> + Send>>;
Expand description

A type alias for the boxed response streams returned by server-streaming methods.

Aliased Type§

#[repr(transparent)]
struct ResponseStream<T> { /* private fields */ }

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 16 bytes