Trait batch_system::fsm::FsmScheduler[][src]

pub trait FsmScheduler {
    type Fsm: Fsm;
    fn schedule(&self, fsm: Box<Self::Fsm>);
fn shutdown(&self); }

FsmScheduler schedules Fsm for later handles.

Associated Types

type Fsm: Fsm[src]

Loading content...

Required methods

fn schedule(&self, fsm: Box<Self::Fsm>)[src]

Schedule a Fsm for later handles.

fn shutdown(&self)[src]

Shutdown the scheduler, which indicates that resources like background thread pool should be released.

Loading content...

Implementors

impl<N, C> FsmScheduler for ControlScheduler<N, C> where
    C: Fsm
[src]

type Fsm = C

impl<N, C> FsmScheduler for NormalScheduler<N, C> where
    N: Fsm
[src]

type Fsm = N

Loading content...