Enum orchestra::FromOrchestra
source · pub enum FromOrchestra<Message, Signal> {
Signal(Signal),
Communication {
msg: Message,
},
}
Expand description
A message type that a subsystem receives from an orchestra. It wraps signals from an orchestra and messages that are circulating between subsystems.
It is generic over over the message type M
that a particular Subsystem
may use.
Variants§
Signal(Signal)
Signal from the Orchestra
.
Communication
Fields
§
msg: Message
Contained message
Some other Subsystem
’s message.
Trait Implementations§
Auto Trait Implementations§
impl<Message, Signal> RefUnwindSafe for FromOrchestra<Message, Signal>where Message: RefUnwindSafe, Signal: RefUnwindSafe,
impl<Message, Signal> Send for FromOrchestra<Message, Signal>where Message: Send, Signal: Send,
impl<Message, Signal> Sync for FromOrchestra<Message, Signal>where Message: Sync, Signal: Sync,
impl<Message, Signal> Unpin for FromOrchestra<Message, Signal>where Message: Unpin, Signal: Unpin,
impl<Message, Signal> UnwindSafe for FromOrchestra<Message, Signal>where Message: UnwindSafe, Signal: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more