pub trait BidiStreamingMsg<S: Service>: Msg<S, Pattern = BidiStreaming> {
type Update: Into<S::Req> + TryFrom<S::Req> + Send + 'static;
type Response: Into<S::Res> + TryFrom<S::Res> + Send + 'static;
}
Expand description
Defines update type and response type for a bidi streaming message.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.