Skip to main content

InputError

Enum InputError 

Source
pub enum InputError<E, N> {
    Receiver(Refused),
    Access(AccessError<E, N>),
    Unavailable {
        node: N,
        cause: E,
    },
    Child(ChildError<E, N>),
    Resource {
        node: N,
        cause: MemoryError,
    },
    Missing {
        node: N,
        local: &'static str,
    },
    Unexpected {
        node: N,
    },
    Duplicate {
        node: N,
    },
    Order {
        node: N,
    },
    Foreign {
        node: N,
    },
    ReferencedData {
        node: N,
        value: Boolean,
    },
    Reference {
        node: N,
        resolution: Resolution<()>,
    },
}
Expand description

Failure to select or acquire an original timestamp input.

Variants§

§

Receiver(Refused)

The streaming driver retains the original callback refusal.

§

Access(AccessError<E, N>)

XML processing, generation or current resource refusal.

§

Unavailable

Original detached bytes are not available in the immutable request. This is incomplete input, not a resource refusal or successful timestamp.

Fields

§node: N

Actual original reference instruction.

§cause: E

Original typed acquisition cause supplied by the XML owner.

§

Child(ChildError<E, N>)

Original direct-child traversal failure.

§

Resource

Accounted metadata retention refused before storage growth.

Fields

§node: N

Original timestamp container.

§cause: MemoryError

Original admission refusal.

§

Missing

Required schema role is missing.

Fields

§node: N

Original enclosing node.

§local: &'static str

Required role’s local name.

§

Unexpected

A node has no role in this baseline timestamp container.

Fields

§node: N

Original node identity.

§

Duplicate

A singleton field or SignatureTimeStamp token is repeated.

Fields

§node: N

Repeated original node.

§

Order

The original CanonicalizationMethod occurs after token content.

Fields

§node: N

Original out-of-order method.

§

Foreign

Timestamp is not a direct unsigned property of the selected signature.

Fields

§node: N

Original requested timestamp.

§

ReferencedData

Individual Include requires an explicitly written true boolean.

Fields

§node: N

Original Include node.

§value: Boolean

Presence/value classification from the XML lexical owner.

§

Reference

Include did not identify an authenticated eligible reference instruction.

Fields

§node: N

Original Include, not a fabricated URI byte offset.

§resolution: Resolution<()>

Precise original lookup outcome.

Trait Implementations§

Source§

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

Source§

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

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

impl<E, N> From<InputError<E, N>> for RequirementError<E, N>

Source§

fn from(cause: InputError<E, N>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

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

§

impl<E, N> Freeze for InputError<E, N>
where AccessError<E, N>: Freeze, N: Freeze, E: Freeze, ChildError<E, N>: Freeze,

§

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

§

impl<E, N> Send for InputError<E, N>
where AccessError<E, N>: Send, N: Send, E: Send, ChildError<E, N>: Send,

§

impl<E, N> Sync for InputError<E, N>
where AccessError<E, N>: Sync, N: Sync, E: Sync, ChildError<E, N>: Sync,

§

impl<E, N> Unpin for InputError<E, N>
where AccessError<E, N>: Unpin, N: Unpin, E: Unpin, ChildError<E, N>: Unpin,

§

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

§

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