pub enum RequestImprintError<E> {
Processing {
operand: ImprintOperand,
source: Error,
},
Callback {
operand: ImprintOperand,
span: Span,
source: E,
},
}Expand description
Request comparison failure retains source role and actual source span.
Variants§
Processing
Processing/resource refusal, not a semantic mismatch or request failure.
Fields
§
operand: ImprintOperandSource to use when interpreting the located diagnostic.
Callback
Original selected-provider cause with honest original-source enclosure.
Fields
§
operand: ImprintOperandSource to use for known inner reader diagnostics in the opaque cause.
§
source: EUnchanged callback cause, including provider resource refusal.
Trait Implementations§
Auto Trait Implementations§
impl<E> !Freeze for RequestImprintError<E>
impl<E> RefUnwindSafe for RequestImprintError<E>where
E: RefUnwindSafe,
impl<E> Send for RequestImprintError<E>where
E: Send,
impl<E> Sync for RequestImprintError<E>where
E: Sync,
impl<E> Unpin for RequestImprintError<E>where
E: Unpin,
impl<E> UnsafeUnpin for RequestImprintError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for RequestImprintError<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