Enum peace_core::ProgressLimit
source · Expand description
Unit of measurement and limit to indicate progress.
Variants§
Unknown
There is no meaningful way to measure progress.
Steps(u64)
Progress is complete when n steps have been completed.
Bytes(u64)
Progress is complete when n bytes are processed.
Useful for upload / download progress.
Trait Implementations§
source§impl Clone for ProgressLimit
impl Clone for ProgressLimit
source§fn clone(&self) -> ProgressLimit
fn clone(&self) -> ProgressLimit
Returns a copy 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 ProgressLimit
impl Debug for ProgressLimit
source§impl Default for ProgressLimit
impl Default for ProgressLimit
source§impl PartialEq<ProgressLimit> for ProgressLimit
impl PartialEq<ProgressLimit> for ProgressLimit
source§fn eq(&self, other: &ProgressLimit) -> bool
fn eq(&self, other: &ProgressLimit) -> bool
This method tests for
self and other values to be equal, and is used
by ==.