Skip to main content

WalkError

Enum WalkError 

Source
pub enum WalkError<E, VE, N> {
    Access(AccessError<E, N>),
    Container(ContainerError<E, N>),
    Property(Error<E, N>),
    Counter(Error<E, N>),
    Resource {
        node: N,
        cause: MemoryError,
    },
    Visitor(VE),
}
Expand description

Original traversal/verification or visitor cause. Refusal never returns a successful prefix, though external visitor side effects cannot be rolled back.

Variants§

§

Access(AccessError<E, N>)

Original source or current-operation admission refusal.

§

Container(ContainerError<E, N>)

Malformed direct child container, without a fallback descendant search.

§

Property(Error<E, N>)

Unsigned container grammar failure.

§

Counter(Error<E, N>)

Original counter schema or actual selected-child verification refusal.

§

Resource

Frame/result storage admission failed before growth.

Fields

§node: N

Original enclosing signature/property.

§cause: MemoryError

Unchanged current execution refusal.

§

Visitor(VE)

Exact visitor error. No later sibling or descendant is visited.

Trait Implementations§

Source§

impl<E: Debug, VE: Debug, N: Debug> Debug for WalkError<E, VE, N>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<E, VE, N> Forget for WalkError<E, VE, N>

§

impl<E, VE, N> Freeze for WalkError<E, VE, N>
where AccessError<E, N>: Freeze, ContainerError<E, N>: Freeze, Error<E, N>: Freeze, Error<E, N>: Freeze, N: Freeze, VE: Freeze,

§

impl<E, VE, N> RefUnwindSafe for WalkError<E, VE, N>

§

impl<E, VE, N> Send for WalkError<E, VE, N>
where AccessError<E, N>: Send, ContainerError<E, N>: Send, Error<E, N>: Send, Error<E, N>: Send, N: Send, VE: Send,

§

impl<E, VE, N> Sync for WalkError<E, VE, N>
where AccessError<E, N>: Sync, ContainerError<E, N>: Sync, Error<E, N>: Sync, Error<E, N>: Sync, N: Sync, VE: Sync,

§

impl<E, VE, N> Unpin for WalkError<E, VE, N>
where AccessError<E, N>: Unpin, ContainerError<E, N>: Unpin, Error<E, N>: Unpin, Error<E, N>: Unpin, N: Unpin, VE: Unpin,

§

impl<E, VE, N> UnsafeUnpin for WalkError<E, VE, N>

§

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