pub enum ScopeRecordOutcome {
Created,
Replaced,
Updated,
Unchanged,
Refused,
}Expand description
What a scope.sync did with one record.
Variants§
Created
The ref was not live before; the scope was created.
Replaced
The ref was live at a lower epoch; that scope ended and this one began.
Updated
The ref was live at this epoch and its content changed.
Unchanged
The ref was live at this epoch with identical content; its version
did not move.
Refused
The record was refused on its own merits (code says why) and the ref
keeps whatever state it had before this sync.
Trait Implementations§
Source§impl Clone for ScopeRecordOutcome
impl Clone for ScopeRecordOutcome
impl Copy for ScopeRecordOutcome
Source§impl Debug for ScopeRecordOutcome
impl Debug for ScopeRecordOutcome
Source§impl<'de> Deserialize<'de> for ScopeRecordOutcome
impl<'de> Deserialize<'de> for ScopeRecordOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ScopeRecordOutcome
Source§impl PartialEq for ScopeRecordOutcome
impl PartialEq for ScopeRecordOutcome
Source§impl Serialize for ScopeRecordOutcome
impl Serialize for ScopeRecordOutcome
impl StructuralPartialEq for ScopeRecordOutcome
Auto Trait Implementations§
impl Freeze for ScopeRecordOutcome
impl RefUnwindSafe for ScopeRecordOutcome
impl Send for ScopeRecordOutcome
impl Sync for ScopeRecordOutcome
impl Unpin for ScopeRecordOutcome
impl UnsafeUnpin for ScopeRecordOutcome
impl UnwindSafe for ScopeRecordOutcome
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