pub enum GitStateApply {
Complete(u32),
Partial,
Malformed,
}Expand description
What one GIT_STATE message did to the mirror.
Variants§
Complete(u32)
The snapshot is complete and installed; acknowledge this state_id.
Partial
A PARTIAL chunk was buffered. Nothing to acknowledge yet — the
ack goes with the final chunk, so the one-in-flight pacing holds.
Malformed
Malformed; the pending buffer was dropped.
Implementations§
Trait Implementations§
Source§impl Clone for GitStateApply
impl Clone for GitStateApply
Source§fn clone(&self) -> GitStateApply
fn clone(&self) -> GitStateApply
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GitStateApply
Source§impl Debug for GitStateApply
impl Debug for GitStateApply
impl Eq for GitStateApply
Source§impl PartialEq for GitStateApply
impl PartialEq for GitStateApply
impl StructuralPartialEq for GitStateApply
Auto Trait Implementations§
impl Freeze for GitStateApply
impl RefUnwindSafe for GitStateApply
impl Send for GitStateApply
impl Sync for GitStateApply
impl Unpin for GitStateApply
impl UnsafeUnpin for GitStateApply
impl UnwindSafe for GitStateApply
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