Skip to main content

CertificateRoleError

Enum CertificateRoleError 

Source
pub enum CertificateRoleError<'certificate, 'document, PE> {
    Scope,
    Resource(MemoryError),
    Certificate {
        certificate: &'certificate Certificate<'document>,
        cause: Error,
    },
    Digest(Error<RangesError, PE>),
}
Expand description

Original source, classification and provider failures are terminal causes.

Variants§

§

Scope

A subset/archive/foreign participant census cannot prove exclusivity.

§

Resource(MemoryError)

Current metadata/catalogue work or capacity refusal.

§

Certificate

Lazy CA query failed in this original certificate’s binary source.

Fields

§certificate: &'certificate Certificate<'document>

Actual original certificate whose CA query failed.

§cause: Error

Unchanged PKIX cause and original binary offset/field.

§

Digest(Error<RangesError, PE>)

Existing selected-provider digest driver refused.

Trait Implementations§

Source§

impl<PE: Debug> Debug for CertificateRoleError<'_, '_, PE>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'certificate, 'document, PE> !Freeze for CertificateRoleError<'certificate, 'document, PE>

§

impl<'certificate, 'document, PE> !RefUnwindSafe for CertificateRoleError<'certificate, 'document, PE>

§

impl<'certificate, 'document, PE> !Send for CertificateRoleError<'certificate, 'document, PE>

§

impl<'certificate, 'document, PE> !Sync for CertificateRoleError<'certificate, 'document, PE>

§

impl<'certificate, 'document, PE> !UnwindSafe for CertificateRoleError<'certificate, 'document, PE>

§

impl<'certificate, 'document, PE> Forget for CertificateRoleError<'certificate, 'document, PE>

§

impl<'certificate, 'document, PE> Unpin for CertificateRoleError<'certificate, 'document, PE>
where Error<RangesError, PE>: Unpin,

§

impl<'certificate, 'document, PE> UnsafeUnpin for CertificateRoleError<'certificate, 'document, PE>

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.