pub trait ServerStreamingMsg<S: Service>: Msg<S, Pattern = ServerStreaming> {
    type Response: Into<S::Res> + TryFrom<S::Res> + Send + 'static;
}
Expand description

Defines response type for a server streaming message.

Required Associated Types§

source

type Response: Into<S::Res> + TryFrom<S::Res> + Send + 'static

The type for the response

For requests that can produce errors, this can be set to Result<T, E>.

Object Safety§

This trait is not object safe.

Implementors§