Struct git_features::progress::Discard [−][src]
pub struct Discard;
An implementation of Progress
which discards all calls.
Trait Implementations
impl Progress for Discard
[src]
impl Progress for Discard
[src]type SubProgress = Discard
The type of progress returned by add_child()
.
pub fn add_child(
&mut self,
_name: impl Into<String>
) -> <Discard as Progress>::SubProgress
[src]
&mut self,
_name: impl Into<String>
) -> <Discard as Progress>::SubProgress
pub fn init(&mut self, _max: Option<usize>, _unit: Option<Unit>)
[src]
pub fn set(&mut self, _step: usize)
[src]
pub fn step(&self) -> usize
[src]
pub fn inc_by(&mut self, _step: usize)
[src]
pub fn set_name(&mut self, _name: impl Into<String>)
[src]
pub fn name(&self) -> Option<String>
[src]
pub fn message(&mut self, _level: MessageLevel, _message: impl Into<String>)
[src]
pub fn unit(&self) -> Option<Unit>
[src]
pub fn max(&self) -> Option<usize>
[src]
pub fn inc(&mut self)
[src]
pub fn info(&mut self, message: impl Into<String>)
[src]
pub fn done(&mut self, message: impl Into<String>)
[src]
pub fn fail(&mut self, message: impl Into<String>)
[src]
pub fn show_throughput(&mut self, start: Instant)
[src]
pub fn show_throughput_with(&mut self, start: Instant, step: usize, unit: Unit)
[src]
Auto Trait Implementations
impl RefUnwindSafe for Discard
impl RefUnwindSafe for Discard
impl UnwindSafe for Discard
impl UnwindSafe for Discard