pub trait IntoStreamingRequest {
    type Stream: Stream<Item = Self::Message> + Send + 'static;
    type Message;

    // Required method
    fn into_streaming_request(self) -> Request<Self::Stream>;
}

Required Associated Types§

source

type Stream: Stream<Item = Self::Message> + Send + 'static

source

type Message

Required Methods§

Implementors§

source§

impl<T> IntoStreamingRequest for Twhere T: Stream + Send + 'static,

§

type Stream = T

§

type Message = <T as Stream>::Item