[−][src]Struct git_features::progress::ThroughputOnDrop
Implementations
impl<T> ThroughputOnDrop<T> where
T: Progress,
[src]
T: Progress,
pub fn new(inner: T) -> ThroughputOnDrop<T>
[src]
Trait Implementations
impl<T> Drop for ThroughputOnDrop<T> where
T: Progress,
[src]
T: Progress,
impl<T> Progress for ThroughputOnDrop<T> where
T: Progress,
[src]
T: Progress,
type SubProgress = <T as Progress>::SubProgress
fn add_child(
&mut self,
name: impl Into<String>
) -> <ThroughputOnDrop<T> as Progress>::SubProgress
[src]
&mut self,
name: impl Into<String>
) -> <ThroughputOnDrop<T> as Progress>::SubProgress
fn init(&mut self, max: Option<usize>, unit: Option<Unit>)
[src]
fn set(&mut self, step: usize)
[src]
fn unit(&self) -> Option<Unit>
[src]
fn max(&self) -> Option<usize>
[src]
fn step(&self) -> usize
[src]
fn inc_by(&mut self, step: usize)
[src]
fn set_name(&mut self, name: impl Into<String>)
[src]
fn name(&self) -> Option<String>
[src]
fn message(&mut self, level: MessageLevel, message: impl Into<String>)
[src]
fn inc(&mut self)
[src]
fn info(&mut self, message: impl Into<String>)
[src]
fn done(&mut self, message: impl Into<String>)
[src]
fn fail(&mut self, message: impl Into<String>)
[src]
fn show_throughput(&mut self, start: Instant)
[src]
fn show_throughput_with(&mut self, start: Instant, step: usize, unit: Unit)
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for ThroughputOnDrop<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for ThroughputOnDrop<T> where
T: Send,
T: Send,
impl<T> Sync for ThroughputOnDrop<T> where
T: Sync,
T: Sync,
impl<T> Unpin for ThroughputOnDrop<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for ThroughputOnDrop<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,