Skip to main content

CoverageError

Enum CoverageError 

Source
pub enum CoverageError<E, N> {
    Format(FormatError<E, N>),
    Access(AccessError<E, N>),
    Processing(E),
    Lookup {
        node: N,
        resolution: Resolution<()>,
    },
    Missing {
        reference: N,
    },
    Repeated {
        reference: N,
    },
    Unused {
        node: N,
    },
    ForeignCounter {
        signature: N,
    },
    Incomplete {
        node: N,
    },
    Unchecked {
        reference: N,
    },
}
Expand description

Required object-format association failed before scalar/digest execution.

Variants§

§

Format(FormatError<E, N>)

Original format structure, resolution eligibility or source refusal.

§

Access(AccessError<E, N>)

Original guard/admission refusal.

§

Processing(E)

Original XML catalogue traversal refusal, including its resource class.

§

Lookup

A format URI was not resolved to an authenticated instruction.

Fields

§node: N

Original DataObjectFormat.

§resolution: Resolution<()>

Exact unsuccessful lookup outcome, distinct from processing refusal.

§

Missing

Required object reference has no format property.

Fields

§reference: N

Original Reference node.

§

Repeated

Multiple formats identify the same reference instruction.

Fields

§reference: N

Original Reference node.

§

Unused

Format does not qualify any required object (including counter exemptions).

Fields

§node: N

Original DataObjectFormat.

§

ForeignCounter

Supplied counter binding belongs to another source or child signature.

Fields

§signature: N

Original selected signature.

§

Incomplete

Original XML request did not provide a complete reference catalogue.

Fields

§node: N

Original unprocessed instruction or container.

§

Unchecked

Referenced data was not successfully checked by XMLDSig.

Fields

§reference: N

Original Reference node.

Trait Implementations§

Source§

impl<E: Debug, N: Debug> Debug for CoverageError<E, N>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<E, N> Forget for CoverageError<E, N>

§

impl<E, N> Freeze for CoverageError<E, N>
where FormatError<E, N>: Freeze, AccessError<E, N>: Freeze, E: Freeze, N: Freeze,

§

impl<E, N> RefUnwindSafe for CoverageError<E, N>

§

impl<E, N> Send for CoverageError<E, N>
where FormatError<E, N>: Send, AccessError<E, N>: Send, E: Send, N: Send,

§

impl<E, N> Sync for CoverageError<E, N>
where FormatError<E, N>: Sync, AccessError<E, N>: Sync, E: Sync, N: Sync,

§

impl<E, N> Unpin for CoverageError<E, N>
where FormatError<E, N>: Unpin, AccessError<E, N>: Unpin, E: Unpin, N: Unpin,

§

impl<E, N> UnsafeUnpin for CoverageError<E, N>

§

impl<E, N> UnwindSafe for CoverageError<E, 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.