Skip to main content

ProfileCheckError

Enum ProfileCheckError 

Source
pub enum ProfileCheckError<SE, PE, RE, FE> {
    Common(CheckError<SE, PE, RE>),
    Profile {
        source: ProfileFailure<FE>,
        context: SourceMap,
    },
}
Expand description

Extended profile execution refusal. Existing public common error enums are unchanged, including their exhaustive matching surface.

Variants§

§

Common(CheckError<SE, PE, RE>)

Unchanged common processing/provider/source/recognition failure.

§

Profile

Terminal profile refusal before cryptographic/content callbacks.

Fields

§source: ProfileFailure<FE>

Original cause and its explicit coordinate domain.

§context: SourceMap

Independent inner map, surviving the joined information buffer. Use this only for Information; Envelope uses original outer coordinates or the mapped wrapper’s separately retained envelope.

Trait Implementations§

Source§

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

Source§

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

Formats the value using the given formatter. Read more
Source§

impl<SE, PE, RE, FE> From<CheckError<SE, PE, RE>> for ProfileCheckError<SE, PE, RE, FE>

Source§

fn from(value: CheckError<SE, PE, RE>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

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

§

impl<SE, PE, RE, FE> RefUnwindSafe for ProfileCheckError<SE, PE, RE, FE>

§

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

§

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

§

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

§

impl<SE, PE, RE, FE> UnsafeUnpin for ProfileCheckError<SE, PE, RE, FE>

§

impl<SE, PE, RE, FE> UnwindSafe for ProfileCheckError<SE, PE, RE, FE>

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.