pub enum RecognitionError<E> {
Processing(Error),
Callback {
span: Span,
source: E,
},
}Expand description
Recognition cannot erase an execution refusal or an opaque callback cause.
Variants§
Processing(Error)
Original common processing/resource refusal.
Callback
Original extension handler failure at the actual extension enclosure.
Trait Implementations§
Auto Trait Implementations§
impl<E> !Freeze for RecognitionError<E>
impl<E> RefUnwindSafe for RecognitionError<E>where
E: RefUnwindSafe,
impl<E> Send for RecognitionError<E>where
E: Send,
impl<E> Sync for RecognitionError<E>where
E: Sync,
impl<E> Unpin for RecognitionError<E>where
E: Unpin,
impl<E> UnsafeUnpin for RecognitionError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for RecognitionError<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