pub enum BatchState {
Normal,
Complete,
Warning,
Error,
}Expand description
State for batch tracker styling.
Variants§
Normal
Normal progress (default)
Complete
Completed successfully
Warning
Has errors but below threshold
Error
Errors exceed threshold
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 · 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 BatchState
impl Debug for BatchState
Source§impl Default for BatchState
impl Default for BatchState
Source§fn default() -> BatchState
fn default() -> BatchState
Returns the “default value” for a type. Read more
Source§impl PartialEq for BatchState
impl PartialEq for BatchState
impl Copy for BatchState
impl Eq 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 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