Struct rotor::LoopInstance [] [src]

pub struct LoopInstance<M: Machine> {
    // some fields omitted
}

Second stage of loop creation

See the docs of LoopCreator or the guide for more information.

Methods

impl<M: Machine> LoopInstance<M>

fn add_machine_with<F>(&mut self, fun: F) -> Result<(), SpawnError<()>> where F: FnOnce(&mut Scope<M::Context>) -> Response<M, Void>

fn run(self) -> Result<(), Error>