Trait quic_rpc_utils::ServerStreamingMsg

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

Defines response type for a server streaming message.

Required Associated Types§

source

type Response: Into<<S as Service>::Res> + TryFrom<<S as Service>::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§