pub struct StepMachine<T>where
T: Debug,{ /* private fields */ }
Implementations§
Source§impl<T> StepMachine<T>where
T: Debug,
impl<T> StepMachine<T>where
T: Debug,
pub fn new( handler: Option<Rc<RefCell<T>>>, steps: Vec<(StepMachineLabel, Step<T>)>, error_handler: Option<ErrorHandler<T>>, ) -> Self
pub fn run( &mut self, beginning: StepMachineLabel, ) -> Result<(), StepMachineError>
Auto Trait Implementations§
impl<T> Freeze for StepMachine<T>
impl<T> !RefUnwindSafe for StepMachine<T>
impl<T> !Send for StepMachine<T>
impl<T> !Sync for StepMachine<T>
impl<T> Unpin for StepMachine<T>
impl<T> !UnwindSafe for StepMachine<T>
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