pub enum UpdateRefResult {
Committed,
Conflict {
current: Option<Hash>,
},
}Expand description
The result of an UpdateRef compare-and-swap.
Variants§
Trait Implementations§
Source§impl Clone for UpdateRefResult
impl Clone for UpdateRefResult
Source§impl Debug for UpdateRefResult
impl Debug for UpdateRefResult
impl Eq for UpdateRefResult
Source§impl PartialEq for UpdateRefResult
impl PartialEq for UpdateRefResult
impl StructuralPartialEq for UpdateRefResult
Auto Trait Implementations§
impl Freeze for UpdateRefResult
impl RefUnwindSafe for UpdateRefResult
impl Send for UpdateRefResult
impl Sync for UpdateRefResult
impl Unpin for UpdateRefResult
impl UnsafeUnpin for UpdateRefResult
impl UnwindSafe for UpdateRefResult
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