pub enum MappedCheckError<SE, PE, RE> {
Preflight(CheckError<SE, PE, RE>),
Provenance(Error),
Execution {
envelope: SourceMap,
source: CheckError<SE, PE, RE>,
},
}Expand description
A check in a logical CMS envelope retains its own source context separately
from the inner TSTInfo map. CMS errors must not use TSTInfo coordinates.
Variants§
Preflight(CheckError<SE, PE, RE>)
Caller source/session mismatch, refused before map admission or work. The original operand identifies its reader; no copied map is required.
Provenance(Error)
Envelope map admission failed at its already physical carrier.
Execution
Original cause and independently retained envelope coordinate context.
Fields
§
source: CheckError<SE, PE, RE>Original check cause; source/operand variants select its context.
Trait Implementations§
Auto Trait Implementations§
impl<SE, PE, RE> !Freeze for MappedCheckError<SE, PE, RE>
impl<SE, PE, RE> RefUnwindSafe for MappedCheckError<SE, PE, RE>where
CheckError<SE, PE, RE>: RefUnwindSafe,
impl<SE, PE, RE> Send for MappedCheckError<SE, PE, RE>where
CheckError<SE, PE, RE>: Send,
impl<SE, PE, RE> Sync for MappedCheckError<SE, PE, RE>where
CheckError<SE, PE, RE>: Sync,
impl<SE, PE, RE> Unpin for MappedCheckError<SE, PE, RE>where
CheckError<SE, PE, RE>: Unpin,
impl<SE, PE, RE> UnsafeUnpin for MappedCheckError<SE, PE, RE>where
CheckError<SE, PE, RE>: UnsafeUnpin,
impl<SE, PE, RE> UnwindSafe for MappedCheckError<SE, PE, RE>where
CheckError<SE, PE, RE>: 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