Skip to main content

BindingError

Enum BindingError 

Source
pub enum BindingError<E> {
    Processing(Error),
    Callback {
        field: &'static str,
        span: Span,
        source: E,
    },
    Digest {
        span: Span,
        source: DigestError<E>,
    },
    Pass {
        span: Span,
        source: PassError<RangesError, E>,
    },
    LostRequest(usize),
}
Expand description

Resource, source-pass and provider failures remain outside semantic answers.

Variants§

§

Processing(Error)

Original common processing/resource refusal and its source location.

§

Callback

Original comparison failure, including backend resources.

Fields

§field: &'static str

Original enclosing ESS field whose callback refused.

§span: Span

Real original identifier span; no offset is synthesized.

§source: E

Original selected-provider cause.

§

Digest

Digest preparation/refusal or provider output contract failure.

Fields

§span: Span

Original whole-certificate range being processed.

§source: DigestError<E>

Common digest/provider cause, independently of document conformance.

§

Pass

Incomplete/failed certificate pass; no successful partial output.

Fields

§span: Span

Original whole-certificate range supplied to the failed pass.

§source: PassError<RangesError, E>

Original source/common/provider cause.

§

LostRequest(usize)

An accepted request is absent from a completed common digest memo. This is an internal processing contract failure, not document syntax or a provider’s negative cryptographic answer.

Trait Implementations§

Source§

impl<E: Debug> Debug for BindingError<E>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

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.