Struct git_features::progress::unit::display::Throughput [−][src]
Expand description
A structure able to display throughput, a value change within a given duration.
Fields
value_change_in_timespan: usizeThe change of value between the current value and the previous one.
timespan: DurationThe amount of time passed between the previous and the current value.
Implementations
A convenience method to create a new ThroughPut from value_change_in_timespan and timespan.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Throughput
impl Send for Throughput
impl Sync for Throughput
impl Unpin for Throughput
impl UnwindSafe for Throughput
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self