Trait batch_system::Fsm [−][src]
A Fsm is a finite state machine. It should be able to be notified for updating internal state according to incoming messages.
Associated Types
Loading content...Required methods
fn is_stopped(&self) -> bool
[src]
Provided methods
fn set_mailbox(&mut self, _mailbox: Cow<'_, BasicMailbox<Self>>) where
Self: Sized,
[src]
Self: Sized,
Set a mailbox to Fsm, which should be used to send message to itself.
fn take_mailbox(&mut self) -> Option<BasicMailbox<Self>> where
Self: Sized,
[src]
Self: Sized,
Take the mailbox from Fsm. Implementation should ensure there will be no reference to mailbox after calling this method.