Skip to main content

ExclusivityError

Enum ExclusivityError 

Source
pub enum ExclusivityError<'certificate, 'document, N> {
    Scope {
        node: N,
    },
    Index(IndexError<N>),
    Resource {
        node: N,
        cause: MemoryError,
    },
    Certificate {
        certificate: &'certificate Certificate<'document>,
        cause: Error,
    },
}
Expand description

Source/current-operation and PKIX errors are terminal, not findings.

Variants§

§

Scope

Whole-signature requirements are needed; a preceding-archive subset cannot classify all original incorporated material.

Fields

§node: N

Actual enclosing scope node.

§

Index(IndexError<N>)

Original index/generation or current execution refusal.

§

Resource

Current traversal, cache or retained report capacity was not admitted.

Fields

§node: N

Original enclosing selected signature.

§cause: MemoryError

Original admission cause.

§

Certificate

Original certificate query failed; offsets stay in THAT certificate’s binary source, not fabricated XML coordinates. Includes resource and processing causes such as ForeignReader without converting them to No.

Fields

§certificate: &'certificate Certificate<'document>

Actual original subject whose CA query refused.

§cause: Error

Unchanged shared PKIX error.

Trait Implementations§

Source§

impl<N: Debug> Debug for ExclusivityError<'_, '_, N>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'certificate, 'document, N> !RefUnwindSafe for ExclusivityError<'certificate, 'document, N>

§

impl<'certificate, 'document, N> !Send for ExclusivityError<'certificate, 'document, N>

§

impl<'certificate, 'document, N> !Sync for ExclusivityError<'certificate, 'document, N>

§

impl<'certificate, 'document, N> !UnwindSafe for ExclusivityError<'certificate, 'document, N>

§

impl<'certificate, 'document, N> Forget for ExclusivityError<'certificate, 'document, N>

§

impl<'certificate, 'document, N> Freeze for ExclusivityError<'certificate, 'document, N>
where N: Freeze, IndexError<N>: Freeze,

§

impl<'certificate, 'document, N> Unpin for ExclusivityError<'certificate, 'document, N>
where N: Unpin, IndexError<N>: Unpin,

§

impl<'certificate, 'document, N> UnsafeUnpin for ExclusivityError<'certificate, 'document, N>

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.