Skip to main content

MappedCheckError

Enum MappedCheckError 

Source
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

§envelope: SourceMap

Maps the original CMS envelope’s coordinates, not inner TSTInfo.

§source: CheckError<SE, PE, RE>

Original check cause; source/operand variants select its context.

Trait Implementations§

Source§

impl<SE: Debug, PE: Debug, RE: Debug> Debug for MappedCheckError<SE, PE, RE>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.