pub enum AccessError<E> {
BudgetExhausted,
RecursiveReentry,
Hook(E),
}Expand description
Failure during bounded traversal or accessor interception.
Variants§
BudgetExhausted
The explicit work budget was exhausted.
RecursiveReentry
The same hook was entered recursively for the same receiver and key.
Hook(E)
A caller-supplied hook failed.
Trait Implementations§
Source§impl<E: Clone> Clone for AccessError<E>
impl<E: Clone> Clone for AccessError<E>
Source§fn clone(&self) -> AccessError<E>
fn clone(&self) -> AccessError<E>
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 moreimpl<E: Copy> Copy for AccessError<E>
Source§impl<E: Debug> Debug for AccessError<E>
impl<E: Debug> Debug for AccessError<E>
impl<E: Eq> Eq for AccessError<E>
Source§impl<E: PartialEq> PartialEq for AccessError<E>
impl<E: PartialEq> PartialEq for AccessError<E>
impl<E: PartialEq> StructuralPartialEq for AccessError<E>
Auto Trait Implementations§
impl<E> Freeze for AccessError<E>where
E: Freeze,
impl<E> RefUnwindSafe for AccessError<E>where
E: RefUnwindSafe,
impl<E> Send for AccessError<E>where
E: Send,
impl<E> Sync for AccessError<E>where
E: Sync,
impl<E> Unpin for AccessError<E>where
E: Unpin,
impl<E> UnsafeUnpin for AccessError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for AccessError<E>where
E: 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