#[non_exhaustive]pub enum ProgressPhase {
ReceivingObjects,
IndexingObjects,
ResolvingDeltas,
CopyingObjects,
CheckingOutFiles,
}Expand description
A coarse phase of a long-running Git operation.
New variants may be added over time; match exhaustively only in the CLI or with a wildcard arm when forwarding unknown phases.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ReceivingObjects
Receiving a pack or loose objects from a remote or bundle stream.
IndexingObjects
Building or reading a pack index after objects are on disk.
ResolvingDeltas
Applying delta chains inside a pack.
CopyingObjects
Copying objects between local repositories (e.g. local fetch).
CheckingOutFiles
Updating the work tree to match a tree (checkout, reset –hard, clone).
Implementations§
Source§impl ProgressPhase
impl ProgressPhase
Sourcepub fn default_unit(self) -> ProgressUnit
pub fn default_unit(self) -> ProgressUnit
Returns the unit callers should use when reporting counts for self.
Trait Implementations§
Source§impl Clone for ProgressPhase
impl Clone for ProgressPhase
impl Copy for ProgressPhase
Source§impl Debug for ProgressPhase
impl Debug for ProgressPhase
impl Eq for ProgressPhase
Source§impl Hash for ProgressPhase
impl Hash for ProgressPhase
Source§impl PartialEq for ProgressPhase
impl PartialEq for ProgressPhase
impl StructuralPartialEq for ProgressPhase
Auto Trait Implementations§
impl Freeze for ProgressPhase
impl RefUnwindSafe for ProgressPhase
impl Send for ProgressPhase
impl Sync for ProgressPhase
impl Unpin for ProgressPhase
impl UnsafeUnpin for ProgressPhase
impl UnwindSafe for ProgressPhase
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