pub trait AssociateOutgoing: Debug + Send {
type OutgoingMessages: Into<AllMessages> + Debug + Send;
}
Expand description
Binds a generated type covering all declared outgoing messages,
which implements #generated_outgoing: From<M>
for all annotated types
of a particular subsystem.
Note: This works because there is a 1?:1 relation between consumed messages and subsystems.
Required Associated Types§
type OutgoingMessages: Into<AllMessages> + Debug + Send
type OutgoingMessages: Into<AllMessages> + Debug + Send
The associated outgoing messages for a subsystem that consumes the message Self
.