pub enum ReplayState {
InFlight {
resumable: bool,
},
Committed(StoredResult),
}Expand description
Where a recorded operation stands.
Variants§
InFlight
Reserved, not yet committed. resumable: a retry may resume it
(UploadPack only, overview Q5); otherwise a retry is told to wait.
Committed(StoredResult)
Committed; a retry gets this result back.
Trait Implementations§
Source§impl Clone for ReplayState
impl Clone for ReplayState
Source§impl Debug for ReplayState
impl Debug for ReplayState
impl Eq for ReplayState
Source§impl PartialEq for ReplayState
impl PartialEq for ReplayState
impl StructuralPartialEq for ReplayState
Auto Trait Implementations§
impl Freeze for ReplayState
impl RefUnwindSafe for ReplayState
impl Send for ReplayState
impl Sync for ReplayState
impl Unpin for ReplayState
impl UnsafeUnpin for ReplayState
impl UnwindSafe for ReplayState
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