pub enum GuardedWriteOutcome {
Written,
Refused(MissingEndpoints),
}Expand description
Outcome of crate::GraphStore::upsert_edge_guarded, determined entirely
inside the guard’s own storage transaction.
Variants§
Written
The edge was inserted or updated; both endpoints existed at write time.
Refused(MissingEndpoints)
The write was refused; MissingEndpoints names which endpoint(s) were
gone at write time.
Trait Implementations§
Source§impl Clone for GuardedWriteOutcome
impl Clone for GuardedWriteOutcome
Source§fn clone(&self) -> GuardedWriteOutcome
fn clone(&self) -> GuardedWriteOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GuardedWriteOutcome
impl Debug for GuardedWriteOutcome
impl Eq for GuardedWriteOutcome
Source§impl PartialEq for GuardedWriteOutcome
impl PartialEq for GuardedWriteOutcome
impl StructuralPartialEq for GuardedWriteOutcome
Auto Trait Implementations§
impl Freeze for GuardedWriteOutcome
impl RefUnwindSafe for GuardedWriteOutcome
impl Send for GuardedWriteOutcome
impl Sync for GuardedWriteOutcome
impl Unpin for GuardedWriteOutcome
impl UnsafeUnpin for GuardedWriteOutcome
impl UnwindSafe for GuardedWriteOutcome
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