pub enum ProgressObservation {
Unavailable,
Percent(u8),
Reset(u8),
}Expand description
Provider progress supplied with one running observation.
Variants§
The provider does not expose progress.
Percent(u8)
Ordinary provider progress in 0..=100.
Reset(u8)
Provider-declared phase reset in 0..=100.
Trait Implementations§
Source§impl Clone for ProgressObservation
impl Clone for ProgressObservation
Source§fn clone(&self) -> ProgressObservation
fn clone(&self) -> ProgressObservation
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 ProgressObservation
Source§impl Debug for ProgressObservation
impl Debug for ProgressObservation
impl Eq for ProgressObservation
Source§impl PartialEq for ProgressObservation
impl PartialEq for ProgressObservation
impl StructuralPartialEq for ProgressObservation
Auto Trait Implementations§
impl Freeze for ProgressObservation
impl RefUnwindSafe for ProgressObservation
impl Send for ProgressObservation
impl Sync for ProgressObservation
impl Unpin for ProgressObservation
impl UnsafeUnpin for ProgressObservation
impl UnwindSafe for ProgressObservation
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