pub enum ChangeOutcome {
Changes {
commits: Vec<Commit>,
impact: Impact,
},
Idle,
Reset {
impact: Impact,
},
}Expand description
Journal outcome at one coherent terminal version and state.
Variants§
Changes
Every retained exact commit after the requested version, oldest first.
Fields
Idle
No newer commit arrived before the timeout.
Reset
The requested version predates retained history and the consumer must reread.
Trait Implementations§
Source§impl Clone for ChangeOutcome
impl Clone for ChangeOutcome
Source§impl Debug for ChangeOutcome
impl Debug for ChangeOutcome
impl Eq for ChangeOutcome
Source§impl PartialEq for ChangeOutcome
impl PartialEq for ChangeOutcome
impl StructuralPartialEq for ChangeOutcome
Auto Trait Implementations§
impl Freeze for ChangeOutcome
impl RefUnwindSafe for ChangeOutcome
impl Send for ChangeOutcome
impl Sync for ChangeOutcome
impl Unpin for ChangeOutcome
impl UnsafeUnpin for ChangeOutcome
impl UnwindSafe for ChangeOutcome
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