Skip to main content

TokenPipelineError

Enum TokenPipelineError 

Source
pub enum TokenPipelineError<E, VE, N, D, G> {
    Foreign {
        node: N,
    },
    Access(AccessError<E, N>),
    Encoding(Error<E, Infallible, N, D, G>),
    Reader {
        location: Location<N, D, G>,
        cause: Error,
    },
    Token {
        location: Location<N, D, G>,
        cause: Error,
    },
    Resource {
        node: N,
        cause: MemoryError,
    },
    Visitor(VE),
}
Expand description

Source/parse/visitor refusal, preserving original coordinate classes.

Variants§

§

Foreign

Child catalogue belongs to another root or source, before any decoding.

Fields

§node: N

Expected original root signature.

§

Access(AccessError<E, N>)

XML/generation/current-operation failure.

§

Encoding(Error<E, Infallible, N, D, G>)

Original Encoding selection refused through the shared binary kernel; unsupported/unknown forms are not silently replaced by another codec.

§

Reader

Original source Reader could not be opened under both active ceilings.

Fields

§location: Location<N, D, G>

Original XML token.

§cause: Error

Original decoded-coordinate cause.

§

Token

Complete CMS timestamp envelope schema/inspection failure.

Fields

§location: Location<N, D, G>

Original XML token.

§cause: Error

Unchanged decoded-coordinate CMS cause.

§

Resource

Source/parsed catalogue admission failed before growth.

Fields

§node: N

Actual original enclosing property/token.

§cause: MemoryError

Unchanged resource refusal.

§

Visitor(VE)

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

Trait Implementations§

Source§

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

§

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

§

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

§

impl<E, VE, N, D, G> Send for TokenPipelineError<E, VE, N, D, G>
where N: Send, AccessError<E, N>: Send, Error<E, !, N, D, G>: Send, Location<N, D, G>: Send, VE: Send,

§

impl<E, VE, N, D, G> Sync for TokenPipelineError<E, VE, N, D, G>
where N: Sync, AccessError<E, N>: Sync, Error<E, !, N, D, G>: Sync, Location<N, D, G>: Sync, VE: Sync,

§

impl<E, VE, N, D, G> Unpin for TokenPipelineError<E, VE, N, D, G>
where N: Unpin, AccessError<E, N>: Unpin, Error<E, !, N, D, G>: Unpin, Location<N, D, G>: Unpin, VE: Unpin,

§

impl<E, VE, N, D, G> UnsafeUnpin for TokenPipelineError<E, VE, N, D, G>
where N: UnsafeUnpin, AccessError<E, N>: UnsafeUnpin, Error<E, !, N, D, G>: UnsafeUnpin, Location<N, D, G>: UnsafeUnpin, VE: UnsafeUnpin,

§

impl<E, VE, N, D, G> UnwindSafe for TokenPipelineError<E, VE, N, D, G>
where N: UnwindSafe, AccessError<E, N>: UnwindSafe, Error<E, !, N, D, G>: UnwindSafe, Location<N, D, G>: UnwindSafe, VE: UnwindSafe,

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.