Skip to main content

MappedProfileCheckError

Enum MappedProfileCheckError 

Source
pub enum MappedProfileCheckError<SE, PE, RE, FE> {
    Preflight(CheckError<SE, PE, RE>),
    Provenance(Error),
    Execution {
        envelope: SourceMap,
        source: ProfileCheckError<SE, PE, RE, FE>,
    },
}
Expand description

A profile check in a logical envelope retains both independent source maps.

Variants§

§

Preflight(CheckError<SE, PE, RE>)

Original source/session refusal before map allocation or dispatch.

§

Provenance(Error)

Outer-map admission failed at its original physical enclosure.

§

Execution

Original extended cause with its separately retained outer coordinates.

Fields

§envelope: SourceMap

Original CMS envelope map, never the carried-information map.

§source: ProfileCheckError<SE, PE, RE, FE>

Unchanged common/profile cause and any retained inner context.

Trait Implementations§

Source§

impl<SE: Debug, PE: Debug, RE: Debug, FE: Debug> Debug for MappedProfileCheckError<SE, PE, RE, FE>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<SE, PE, RE, FE> !Freeze for MappedProfileCheckError<SE, PE, RE, FE>

§

impl<SE, PE, RE, FE> RefUnwindSafe for MappedProfileCheckError<SE, PE, RE, FE>
where CheckError<SE, PE, RE>: RefUnwindSafe, ProfileCheckError<SE, PE, RE, FE>: RefUnwindSafe,

§

impl<SE, PE, RE, FE> Send for MappedProfileCheckError<SE, PE, RE, FE>
where CheckError<SE, PE, RE>: Send, ProfileCheckError<SE, PE, RE, FE>: Send,

§

impl<SE, PE, RE, FE> Sync for MappedProfileCheckError<SE, PE, RE, FE>
where CheckError<SE, PE, RE>: Sync, ProfileCheckError<SE, PE, RE, FE>: Sync,

§

impl<SE, PE, RE, FE> Unpin for MappedProfileCheckError<SE, PE, RE, FE>
where CheckError<SE, PE, RE>: Unpin, ProfileCheckError<SE, PE, RE, FE>: Unpin,

§

impl<SE, PE, RE, FE> UnsafeUnpin for MappedProfileCheckError<SE, PE, RE, FE>
where CheckError<SE, PE, RE>: UnsafeUnpin, ProfileCheckError<SE, PE, RE, FE>: UnsafeUnpin,

§

impl<SE, PE, RE, FE> UnwindSafe for MappedProfileCheckError<SE, PE, RE, FE>
where CheckError<SE, PE, RE>: UnwindSafe, ProfileCheckError<SE, PE, RE, FE>: 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.