Skip to main content

SelectionError

Enum SelectionError 

Source
pub enum SelectionError {
    Processing(Error),
    PriorProcessing(Error),
    Coverage(CoverageError<Node>),
    WrongEdition,
    WrongOccurrence,
    MissingDetached,
    PriorNotPreserved,
    SelfIncluded,
    UnprovenLater {
        property: Node,
    },
    Unavailable {
        property: Node,
    },
    LengthOverflow,
}
Expand description

Refusal before provider/source side effects; no implicit missing-input or successful missing-preservation fallback is provided.

Variants§

§

Processing(Error)

Failure in the current source/operation.

§

PriorProcessing(Error)

Failure while consulting the explicitly supplied earlier source.

§

Coverage(CoverageError<Node>)

Exact common coverage/source refusal while admitting a later witness.

§

WrongEdition

Attribute OID and explicitly selected historical edition disagree.

§

WrongOccurrence

Wrong source/owner/placement, repeated selection, or unreadable value.

§

MissingDetached

RFC5126 requires actual detached input, but no source was supplied.

§

PriorNotPreserved

Original signed fields/material/previous unsigned attributes changed.

§

SelfIncluded

The proposed previous input contains its own target token.

§

UnprovenLater

Exclusion lacks a validated later proof covering this earlier token.

Fields

§property: Node

Original excluded archive attribute, without invented coordinates.

§

Unavailable

A separate preservation mechanism has no usable qualified processor.

Fields

§property: Node

Original unsupported preservation property.

§

LengthOverflow

Exact range/framing lengths cannot be represented.

Trait Implementations§

Source§

impl Debug for SelectionError

Source§

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

Formats the value using the given formatter. Read more
Source§

impl From<Error> for SelectionError

Source§

fn from(cause: Error) -> Self

Converts to this type from the input type.

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.