pub enum ProgressPolicy {
Nondecreasing,
ExplicitResets {
max_resets: u16,
},
Unordered,
}Expand description
Provider-specific progress transition policy.
Variants§
Nondecreasing
Ordinary progress must never move backwards and resets are forbidden.
ExplicitResets
Explicit resets are admitted up to this hard count.
Unordered
Percent values remain validated but ordering is provider-defined.
Trait Implementations§
Source§impl Clone for ProgressPolicy
impl Clone for ProgressPolicy
Source§fn clone(&self) -> ProgressPolicy
fn clone(&self) -> ProgressPolicy
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 ProgressPolicy
Source§impl Debug for ProgressPolicy
impl Debug for ProgressPolicy
impl Eq for ProgressPolicy
Source§impl PartialEq for ProgressPolicy
impl PartialEq for ProgressPolicy
impl StructuralPartialEq for ProgressPolicy
Auto Trait Implementations§
impl Freeze for ProgressPolicy
impl RefUnwindSafe for ProgressPolicy
impl Send for ProgressPolicy
impl Sync for ProgressPolicy
impl Unpin for ProgressPolicy
impl UnsafeUnpin for ProgressPolicy
impl UnwindSafe for ProgressPolicy
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