pub enum StateExecution {
Sequential,
Concurrent,
}Variants§
Implementations§
Source§impl StateExecution
impl StateExecution
pub const fn is_concurrent(self) -> bool
pub const fn is_sequential(&self) -> bool
Trait Implementations§
Source§impl Clone for StateExecution
impl Clone for StateExecution
Source§fn clone(&self) -> StateExecution
fn clone(&self) -> StateExecution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StateExecution
Source§impl Debug for StateExecution
impl Debug for StateExecution
Source§impl Default for StateExecution
impl Default for StateExecution
Source§fn default() -> StateExecution
fn default() -> StateExecution
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StateExecution
impl<'de> Deserialize<'de> for StateExecution
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
impl Eq for StateExecution
Source§impl PartialEq for StateExecution
impl PartialEq for StateExecution
Source§impl Serialize for StateExecution
impl Serialize for StateExecution
impl StructuralPartialEq for StateExecution
Auto Trait Implementations§
impl Freeze for StateExecution
impl RefUnwindSafe for StateExecution
impl Send for StateExecution
impl Sync for StateExecution
impl Unpin for StateExecution
impl UnsafeUnpin for StateExecution
impl UnwindSafe for StateExecution
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