pub enum OccurrenceError<E> {
Storage(E),
Cancelled,
DepthLimit,
OccurrenceLimit,
StepLimit,
}Expand description
Incomplete traversal; never interpret errors as absent terms or end of stream.
Variants§
Storage(E)
Root scan or authoritative term access failed.
Cancelled
Attempt cancelled or superseded.
DepthLimit
Another nested frame would exceed the explicit path-depth budget.
OccurrenceLimit
Another emitted appearance would exceed its budget.
StepLimit
Another root read or term lookup would exceed its work budget.
Trait Implementations§
Source§impl<E: Debug> Debug for OccurrenceError<E>
impl<E: Debug> Debug for OccurrenceError<E>
Source§impl<E: Display> Display for OccurrenceError<E>
impl<E: Display> Display for OccurrenceError<E>
Source§impl<E: Error + 'static> Error for OccurrenceError<E>
impl<E: Error + 'static> Error for OccurrenceError<E>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl<E> Forget for OccurrenceError<E>
impl<E> Freeze for OccurrenceError<E>where
E: Freeze,
impl<E> Move for OccurrenceError<E>
impl<E> RefUnwindSafe for OccurrenceError<E>where
E: RefUnwindSafe,
impl<E> Send for OccurrenceError<E>where
E: Send,
impl<E> Sync for OccurrenceError<E>where
E: Sync,
impl<E> Unpin for OccurrenceError<E>where
E: Unpin,
impl<E> UnsafeUnpin for OccurrenceError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for OccurrenceError<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