Enum ket::ir::ProcessStatus
source · pub enum ProcessStatus {
Building,
Live,
Ready,
Running,
Terminated,
}
Expand description
Enum representing the status of a quantum process.
Variants§
Building
The process is in the building state, indicating that quantum operations can be added.
Live
The process is in the live state, indicating that quantum operations are executed iteratively.
Ready
The process is in the ready state, indicating that it is prepared for execution.
Running
The process is in the running state, indicating that quantum operations are being executed.
Terminated
The process is in the terminated state, indicating that the execution has completed.
Trait Implementations§
source§impl Clone for ProcessStatus
impl Clone for ProcessStatus
source§fn clone(&self) -> ProcessStatus
fn clone(&self) -> ProcessStatus
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 moresource§impl Debug for ProcessStatus
impl Debug for ProcessStatus
source§impl<'de> Deserialize<'de> for ProcessStatus
impl<'de> Deserialize<'de> for ProcessStatus
source§fn 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
Auto Trait Implementations§
impl RefUnwindSafe for ProcessStatus
impl Send for ProcessStatus
impl Sync for ProcessStatus
impl Unpin for ProcessStatus
impl UnwindSafe for ProcessStatus
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