pub enum Error<E, N> {
Access(AccessError<E, N>),
Attributes(AccessError<VisitError<E, MemoryError>, N>),
Resource {
node: N,
cause: MemoryError,
},
}Expand description
Original XML, callback and resource causes remain terminal and distinct.
Variants§
Access(AccessError<E, N>)
Original XML owner or common generation/current-work refusal.
Attributes(AccessError<VisitError<E, MemoryError>, N>)
Attribute traversal’s first original processing/callback refusal.
Resource
Scoped storage or comparison admission failed before work.
Trait Implementations§
Auto Trait Implementations§
impl<E, N> Forget for Error<E, N>
impl<E, N> Freeze for Error<E, N>
impl<E, N> RefUnwindSafe for Error<E, N>where
AccessError<E, N>: RefUnwindSafe,
AccessError<VisitError<E, MemoryError>, N>: RefUnwindSafe,
N: RefUnwindSafe,
impl<E, N> Send for Error<E, N>
impl<E, N> Sync for Error<E, N>
impl<E, N> Unpin for Error<E, N>
impl<E, N> UnsafeUnpin for Error<E, N>where
AccessError<E, N>: UnsafeUnpin,
AccessError<VisitError<E, MemoryError>, N>: UnsafeUnpin,
N: UnsafeUnpin,
impl<E, N> UnwindSafe for Error<E, N>where
AccessError<E, N>: UnwindSafe,
AccessError<VisitError<E, MemoryError>, N>: UnwindSafe,
N: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more