#[non_exhaustive]pub enum ItemOutcome {
Inserted,
Replaced {
from: u64,
to: u64,
},
IgnoredStale {
held: u64,
offered: u64,
},
}Expand description
What one item event did to the item it names.
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.
Inserted
The first revision of an item the fold did not hold.
Replaced
A newer revision, or the completed form of the held revision, replaced the held one and dropped its accumulated deltas.
IgnoredStale
The offered revision is older, or repeats the held one without completing an open item, so the held one stays.
Trait Implementations§
Source§impl Clone for ItemOutcome
impl Clone for ItemOutcome
Source§impl Debug for ItemOutcome
impl Debug for ItemOutcome
impl Eq for ItemOutcome
Source§impl PartialEq for ItemOutcome
impl PartialEq for ItemOutcome
impl StructuralPartialEq for ItemOutcome
Auto Trait Implementations§
impl Freeze for ItemOutcome
impl RefUnwindSafe for ItemOutcome
impl Send for ItemOutcome
impl Sync for ItemOutcome
impl Unpin for ItemOutcome
impl UnsafeUnpin for ItemOutcome
impl UnwindSafe for ItemOutcome
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