pub enum AccessError<E, N> {
Xml(E),
Resource {
node: N,
cause: MemoryError,
},
Changed {
node: N,
},
}Expand description
An XML access refusal located by original node identity, not a fake byte offset.
Variants§
Xml(E)
The XML owner’s original cause.
Resource
Common admission failed before callback dispatch.
Fields
§
node: NOriginal node associated with the attempted operation.
§
cause: MemoryErrorOriginal execution refusal.
Changed
Document identity or generation changed; previous evidence is unusable.
Fields
§
node: NNode associated with the attempted operation.
Trait Implementations§
Source§impl<E, N> From<ScopeError<N>> for AccessError<E, N>
impl<E, N> From<ScopeError<N>> for AccessError<E, N>
Source§fn from(cause: ScopeError<N>) -> Self
fn from(cause: ScopeError<N>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E, N> Forget for AccessError<E, N>
impl<E, N> Freeze for AccessError<E, N>
impl<E, N> RefUnwindSafe for AccessError<E, N>where
E: RefUnwindSafe,
N: RefUnwindSafe,
impl<E, N> Send for AccessError<E, N>
impl<E, N> Sync for AccessError<E, N>
impl<E, N> Unpin for AccessError<E, N>
impl<E, N> UnsafeUnpin for AccessError<E, N>where
E: UnsafeUnpin,
N: UnsafeUnpin,
impl<E, N> UnwindSafe for AccessError<E, N>where
E: 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