pub enum BatchState {
BatchStateUnspecified,
BatchStatePending,
BatchStateRunning,
BatchStateSucceeded,
BatchStateFailed,
BatchStateCancelled,
BatchStateExpired,
}Expand description
The state of a batch operation.
Variants§
BatchStateUnspecified
State is unspecified
BatchStatePending
Batch is pending execution
BatchStateRunning
Batch is currently running
BatchStateSucceeded
Batch completed successfully
BatchStateFailed
Batch failed during execution
BatchStateCancelled
Batch was cancelled
BatchStateExpired
Batch expired before completion
Trait Implementations§
Source§impl Clone for BatchState
impl Clone for BatchState
Source§fn clone(&self) -> BatchState
fn clone(&self) -> BatchState
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 BatchState
Source§impl Debug for BatchState
impl Debug for BatchState
Source§impl<'de> Deserialize<'de> for BatchState
impl<'de> Deserialize<'de> for BatchState
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
Source§impl PartialEq for BatchState
impl PartialEq for BatchState
Source§fn eq(&self, other: &BatchState) -> bool
fn eq(&self, other: &BatchState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BatchState
impl Serialize for BatchState
impl StructuralPartialEq for BatchState
Auto Trait Implementations§
impl Freeze for BatchState
impl RefUnwindSafe for BatchState
impl Send for BatchState
impl Sync for BatchState
impl Unpin for BatchState
impl UnsafeUnpin for BatchState
impl UnwindSafe for BatchState
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