pub trait Msg<S: Service>:
Into<S::Req>
+ TryFrom<S::Req>
+ Send
+ 'static {
type Pattern: InteractionPattern;
}
Expand description
Declares the interaction pattern for a message and a service.
For each server and each message, only one interaction pattern can be defined.
Required Associated Types§
sourcetype Pattern: InteractionPattern
type Pattern: InteractionPattern
The interaction pattern for this message with this service.
Object Safety§
This trait is not object safe.