Enum xio_webapi::ModuleState [−][src]
pub enum ModuleState { Unknown, Uninitialized, Ready { assigned_to_jobset: bool, }, Running { assigned_to_jobset: bool, }, Error, }
The state of a XIO module.
Variants
Unknown
The state of the module is unknown (e.g. has not been requested from the device yet).
Uninitialized
The module is uninitialized.
Ready
The module is ready to be started.
Fields of Ready
assigned_to_jobset: bool | If true, the module has been assigned to a jobset. In this state, it can not be controlled by requesting a
|
Running
The module is currently running.
Fields of Running
assigned_to_jobset: bool | If true, the module has been assigned to a jobset. In this state, it can not be controlled by requesting a
|
Error
An error has occurred
Trait Implementations
impl Clone for ModuleState
[src]
impl Clone for ModuleState
fn clone(&self) -> ModuleState
[src]
fn clone(&self) -> ModuleState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ModuleState
[src]
impl Debug for ModuleState
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ModuleState
[src]
impl PartialEq for ModuleState
fn eq(&self, other: &ModuleState) -> bool
[src]
fn eq(&self, other: &ModuleState) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ModuleState) -> bool
[src]
fn ne(&self, other: &ModuleState) -> bool
This method tests for !=
.
impl Eq for ModuleState
[src]
impl Eq for ModuleState
impl Default for ModuleState
[src]
impl Default for ModuleState
fn default() -> ModuleState
[src]
fn default() -> ModuleState
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ModuleState
impl Send for ModuleState
impl Sync for ModuleState
impl Sync for ModuleState