#[non_exhaustive]pub enum PushPhase {
Scanning,
Hashing,
Connecting,
Negotiating,
Uploading,
Committing,
}Expand description
The step that a push is in.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Scanning
The client reads its source and builds the object list.
A tree push shows this phase from the start of its scan to the end of
the walk, which lists and filters each directory. Hash jobs can run in
this phase. A new PushProgress starts in this phase.
Hashing
The client hashes the files and the directories of a tree.
A tree push shows this phase after the walk. In this phase, the hash jobs that still run come to an end, and the client hashes the directories bottom-up.
Connecting
The session starts its transport and exchanges Hello with the server.
In this phase, an ssh client can ask for a password or a passphrase on the terminal.
Negotiating
The session exchanges Have with the server.
Uploading
The session sends objects.
Committing
The session sends Commit and waits for the reply.
Trait Implementations§
impl Copy for PushPhase
impl Eq for PushPhase
impl StructuralPartialEq for PushPhase
Auto Trait Implementations§
impl Freeze for PushPhase
impl RefUnwindSafe for PushPhase
impl Send for PushPhase
impl Sync for PushPhase
impl Unpin for PushPhase
impl UnsafeUnpin for PushPhase
impl UnwindSafe for PushPhase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.