Trait Encodable

Source
pub trait Encodable<T> {
    // Required method
    fn into_encode(self) -> T;
}
Expand description

Convert a stream of protobuf messages to an HTTP body payload.

Required Methods§

Source

fn into_encode(self) -> T

Implementors§

Source§

impl<T, U> Encodable<BoxBody> for T
where T: Stream<Item = U, Error = Status> + Send + 'static, U: Message + 'static,