pub enum ProgressUnit {
Objects,
Bytes,
Files,
}Expand description
Unit for ProgressSink::inc / ProgressSink::set during a phase.
Variants§
Objects
Git objects (commits, trees, blobs, tags).
Bytes
Raw bytes (e.g. pack stream length when known).
Files
Work-tree paths.
Trait Implementations§
Source§impl Clone for ProgressUnit
impl Clone for ProgressUnit
impl Copy for ProgressUnit
Source§impl Debug for ProgressUnit
impl Debug for ProgressUnit
impl Eq for ProgressUnit
Source§impl Hash for ProgressUnit
impl Hash for ProgressUnit
Source§impl PartialEq for ProgressUnit
impl PartialEq for ProgressUnit
impl StructuralPartialEq for ProgressUnit
Auto Trait Implementations§
impl Freeze for ProgressUnit
impl RefUnwindSafe for ProgressUnit
impl Send for ProgressUnit
impl Sync for ProgressUnit
impl Unpin for ProgressUnit
impl UnsafeUnpin for ProgressUnit
impl UnwindSafe for ProgressUnit
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more