pub trait TryServerStreamingMsg<S: Service>: Msg<S, Pattern = TryServerStreaming>where
Result<Self::Item, Self::ItemError>: Into<S::Res> + TryFrom<S::Res>,
Result<StreamCreated, Self::CreateError>: Into<S::Res> + TryFrom<S::Res>,{
type CreateError: Debug + Send + 'static;
type ItemError: Debug + Send + 'static;
type Item: Send + 'static;
}
Expand description
Same as ServerStreamingMsg, but with lazy stream creation and the error type explicitly defined.
Required Associated Types§
sourcetype CreateError: Debug + Send + 'static
type CreateError: Debug + Send + 'static
Error when creating the stream
Object Safety§
This trait is not object safe.