pub enum ScopeError<N> {
Changed {
node: N,
},
Resource {
node: N,
cause: MemoryError,
},
}Expand description
The expected snapshot changed or the current operation refused admission.
Variants§
Changed
Document identity or generation changed; previous evidence is unusable.
Fields
§
node: NNode associated with the attempted operation.
Resource
Admission failed before the operation.
Fields
§
node: NOriginal node associated with the attempted operation.
§
cause: MemoryErrorOriginal execution refusal.
Trait Implementations§
Source§impl<N: Clone> Clone for ScopeError<N>
impl<N: Clone> Clone for ScopeError<N>
impl<N: Copy> Copy for ScopeError<N>
Source§impl<N: Debug> Debug for ScopeError<N>
impl<N: Debug> Debug for ScopeError<N>
impl<N: Eq> Eq for ScopeError<N>
Source§impl<N> From<ScopeError<N>> for ParticipantError<N>
impl<N> From<ScopeError<N>> for ParticipantError<N>
Source§fn from(cause: ScopeError<N>) -> Self
fn from(cause: ScopeError<N>) -> Self
Converts to this type from the input type.
Source§impl<N> From<ScopeError<N>> for ObligationError<N>
impl<N> From<ScopeError<N>> for ObligationError<N>
Source§fn from(cause: ScopeError<N>) -> Self
fn from(cause: ScopeError<N>) -> Self
Converts to this type from the input type.
Source§impl<N: PartialEq> PartialEq for ScopeError<N>
impl<N: PartialEq> PartialEq for ScopeError<N>
impl<N: PartialEq> StructuralPartialEq for ScopeError<N>
Auto Trait Implementations§
impl<N> Freeze for ScopeError<N>where
N: Freeze,
impl<N> RefUnwindSafe for ScopeError<N>where
N: RefUnwindSafe,
impl<N> Send for ScopeError<N>where
N: Send,
impl<N> Sync for ScopeError<N>where
N: Sync,
impl<N> Unpin for ScopeError<N>where
N: Unpin,
impl<N> UnsafeUnpin for ScopeError<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for ScopeError<N>where
N: UnwindSafe,
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