Enum xio_webapi::ModuleAction
source · pub enum ModuleAction {
Initialize,
Start,
Stop,
Uninitialize,
}
Expand description
Actions for controlling module state.
Variants
Initialize
Initialize a module.
Can only be executed when the module is in Uninitialized
state.
Start
Start a module.
Can only be executed when the module is in Ready
state
while not being assigned to a jobset.
Stop
Stop a module.
Can only be executed when the module is in Running
state
while not being assigned to a jobset.
Uninitialize
Uninitialize a module.
Can only be executed when the module is in Ready
state
while not being assigned to a jobset.
Trait Implementations
sourceimpl Clone for ModuleAction
impl Clone for ModuleAction
sourcefn clone(&self) -> ModuleAction
fn clone(&self) -> ModuleAction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ModuleAction
impl Debug for ModuleAction
sourceimpl Default for ModuleAction
impl Default for ModuleAction
sourceimpl<'de> Deserialize<'de> for ModuleAction
impl<'de> Deserialize<'de> for ModuleAction
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ModuleAction> for ModuleAction
impl PartialEq<ModuleAction> for ModuleAction
sourcefn eq(&self, other: &ModuleAction) -> bool
fn eq(&self, other: &ModuleAction) -> bool
sourceimpl Serialize for ModuleAction
impl Serialize for ModuleAction
impl Eq for ModuleAction
impl MustNotBeSkipped for ModuleAction
impl StructuralEq for ModuleAction
impl StructuralPartialEq for ModuleAction
Auto Trait Implementations
impl RefUnwindSafe for ModuleAction
impl Send for ModuleAction
impl Sync for ModuleAction
impl Unpin for ModuleAction
impl UnwindSafe for ModuleAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> PathLoad for Twhere
T: DeserializeOwned,
impl<T> PathLoad for Twhere
T: DeserializeOwned,
fn load_from_path<P>(path: P) -> Result<T, Error>where
P: AsRef<Path> + Debug,
fn load_from_path<P>(path: P) -> Result<T, Error>where
P: AsRef<Path> + Debug,
Load the data structure from a path.