[−][src]Enum git_features::progress::Either
Variants
Trait Implementations
impl<L, R> Progress for Either<L, R> where
L: Progress,
R: Progress,
[src]
L: Progress,
R: Progress,
type SubProgress = Either<<L as Progress>::SubProgress, <R as Progress>::SubProgress>
fn add_child(
&mut self,
name: impl Into<String>
) -> <Either<L, R> as Progress>::SubProgress
[src]
&mut self,
name: impl Into<String>
) -> <Either<L, R> 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<L, R> RefUnwindSafe for Either<L, R> where
L: RefUnwindSafe,
R: RefUnwindSafe,
L: RefUnwindSafe,
R: RefUnwindSafe,
impl<L, R> Send for Either<L, R> where
L: Send,
R: Send,
L: Send,
R: Send,
impl<L, R> Sync for Either<L, R> where
L: Sync,
R: Sync,
L: Sync,
R: Sync,
impl<L, R> Unpin for Either<L, R> where
L: Unpin,
R: Unpin,
L: Unpin,
R: Unpin,
impl<L, R> UnwindSafe for Either<L, R> where
L: UnwindSafe,
R: UnwindSafe,
L: UnwindSafe,
R: 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>,