pub enum RuntimeControl {
RequestStop,
Configure(ParameterSet<String, String>),
}Variants§
RequestStop
Request the runtime to stop. It may take a while for the runtime to shut down as codelets will finish stepping and stop will be called for all active codelets.
Configure(ParameterSet<String, String>)
Requests a configuration change. Configuration changes will be applied after codelet step.
Trait Implementations§
Source§impl Clone for RuntimeControl
impl Clone for RuntimeControl
Source§fn clone(&self) -> RuntimeControl
fn clone(&self) -> RuntimeControl
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RuntimeControl
impl RefUnwindSafe for RuntimeControl
impl Send for RuntimeControl
impl Sync for RuntimeControl
impl Unpin for RuntimeControl
impl UnwindSafe for RuntimeControl
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