Skip to main content

PipelineError

Enum PipelineError 

Source
pub enum PipelineError<E, VE, N, D, G> {
    Access(AccessError<E, N>),
    Property(Error<E, N>),
    Validation(Error<E, N>),
    Retain {
        location: Location<N, D, G>,
        cause: RetainError<E, N>,
    },
    Parse(Located<Cause, N, D, G>),
    Foreign {
        node: N,
    },
    Resource {
        node: N,
        cause: MemoryError,
    },
    Visitor(VE),
}
Expand description

Terminal pipeline refusal; no successfully parsed subset is returned.

Variants§

§

Access(AccessError<E, N>)

XML source/generation/current-operation refusal.

§

Property(Error<E, N>)

Original header/material field grammar, source or resource cause.

§

Validation(Error<E, N>)

Original general/timestamp validation-data field cause.

§

Retain

Source retention failed before the exact value was available.

Fields

§location: Location<N, D, G>

Original XML enclosure.

§cause: RetainError<E, N>

Unchanged source cause.

§

Parse(Located<Cause, N, D, G>)

Located original PKIX/schema/resource cause in decoded coordinates.

§

Foreign

Prepared catalogue does not belong to the expected original scope.

Fields

§node: N

Original catalogue parent.

§

Resource

Metadata/source/parsed catalogue storage or traversal admission failed.

Fields

§node: N

Original enclosing node.

§cause: MemoryError

Original resource cause.

§

Visitor(VE)

Exact visitor refusal; external visitor side effects are not rolled back.

Trait Implementations§

Source§

impl<E: Debug, VE: Debug, N: Debug, D: Debug, G: Debug> Debug for Error<E, VE, 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, VE, N, D, G> !Freeze for Error<E, VE, N, D, G>

§

impl<E, VE, N, D, G> Forget for Error<E, VE, N, D, G>

§

impl<E, VE, N, D, G> RefUnwindSafe for Error<E, VE, N, D, G>

§

impl<E, VE, N, D, G> Send for Error<E, VE, N, D, G>
where AccessError<E, N>: Send, Error<E, N>: Send, Error<E, N>: Send, Location<N, D, G>: Send, RetainError<E, N>: Send, Located<Cause, N, D, G>: Send, N: Send, VE: Send,

§

impl<E, VE, N, D, G> Sync for Error<E, VE, N, D, G>
where AccessError<E, N>: Sync, Error<E, N>: Sync, Error<E, N>: Sync, Location<N, D, G>: Sync, RetainError<E, N>: Sync, Located<Cause, N, D, G>: Sync, N: Sync, VE: Sync,

§

impl<E, VE, N, D, G> Unpin for Error<E, VE, N, D, G>
where AccessError<E, N>: Unpin, Error<E, N>: Unpin, Error<E, N>: Unpin, Location<N, D, G>: Unpin, RetainError<E, N>: Unpin, Located<Cause, N, D, G>: Unpin, N: Unpin, VE: Unpin,

§

impl<E, VE, N, D, G> UnsafeUnpin for Error<E, VE, N, D, G>

§

impl<E, VE, N, D, G> UnwindSafe for Error<E, VE, N, D, G>

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.