pub enum VisitError<E> {
Processing {
part: Part,
context: Span,
source: Error,
},
Callback {
part: Part,
context: Span,
source: E,
},
}Expand description
Source/current processing refusal or the original visitor failure.
Variants§
Processing
Original located PKIX/resource failure.
Fields
Callback
The consumer refused this part; no subsequent part is emitted.
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for VisitError<E>where
E: Freeze,
impl<E> RefUnwindSafe for VisitError<E>where
E: RefUnwindSafe,
impl<E> Send for VisitError<E>where
E: Send,
impl<E> Sync for VisitError<E>where
E: Sync,
impl<E> Unpin for VisitError<E>where
E: Unpin,
impl<E> UnsafeUnpin for VisitError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for VisitError<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