Skip to main content

CheckError

Enum CheckError 

Source
pub enum CheckError<E, PE, N, D, G> {
    ForeignCatalogue {
        signature: N,
        property: N,
    },
    ForbiddenCertificateUri {
        location: Location<N, D, G>,
    },
    Access(AccessError<E, N>),
    Digest(Error<E, DigestError<PE>, N, D, G>),
}
Expand description

Selected-certificate conformance/processing refusal, separate from key/digest mismatch.

Variants§

§

ForeignCatalogue

Catalogue belongs to another selected signature or original generation. This is caller/source misuse, not a fault in the signed document.

Fields

§signature: N

Requested selected signature.

§property: N

Original supplied reference container.

§

ForbiddenCertificateUri

Current baseline prohibits the optional general-schema Cert URI attribute.

Fields

§location: Location<N, D, G>

Original Cert entry, with exact XML document/generation.

§

Access(AccessError<E, N>)

Original read-only selected-key access/refusal.

§

Digest(Error<E, DigestError<PE>, N, D, G>)

Original digest execution and binary/XML source enclosure.

Trait Implementations§

Source§

impl<E: Debug, PE: Debug, N: Debug, D: Debug, G: Debug> Debug for CheckError<E, PE, N, D, G>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<E, PE, N, D, G> !Freeze for CheckError<E, PE, N, D, G>

§

impl<E, PE, N, D, G> Forget for CheckError<E, PE, N, D, G>

§

impl<E, PE, N, D, G> RefUnwindSafe for CheckError<E, PE, N, D, G>

§

impl<E, PE, N, D, G> Send for CheckError<E, PE, N, D, G>
where N: Send, Location<N, D, G>: Send, AccessError<E, N>: Send, Error<E, DigestError<PE>, N, D, G>: Send,

§

impl<E, PE, N, D, G> Sync for CheckError<E, PE, N, D, G>
where N: Sync, Location<N, D, G>: Sync, AccessError<E, N>: Sync, Error<E, DigestError<PE>, N, D, G>: Sync,

§

impl<E, PE, N, D, G> Unpin for CheckError<E, PE, N, D, G>
where N: Unpin, Location<N, D, G>: Unpin, AccessError<E, N>: Unpin, Error<E, DigestError<PE>, N, D, G>: Unpin,

§

impl<E, PE, N, D, G> UnsafeUnpin for CheckError<E, PE, N, D, G>
where N: UnsafeUnpin, Location<N, D, G>: UnsafeUnpin, AccessError<E, N>: UnsafeUnpin, Error<E, DigestError<PE>, N, D, G>: UnsafeUnpin,

§

impl<E, PE, N, D, G> UnwindSafe for CheckError<E, PE, N, D, G>
where N: UnwindSafe, Location<N, D, G>: UnwindSafe, AccessError<E, N>: UnwindSafe, Error<E, DigestError<PE>, N, D, G>: 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.