pub enum ParserErrorKind<T> {
basic(BasicParseErrorKind),
custom(T),
}Variants§
basic(BasicParseErrorKind)
A fundamental parse error from a built-in parsing routine.
custom(T)
A parse error reported by downstream consumer code.
Trait Implementations§
Auto Trait Implementations§
impl<T> !Send for ParserErrorKind<T>
impl<T> !Sync for ParserErrorKind<T>
impl<T> Freeze for ParserErrorKind<T>where
T: Freeze,
impl<T> RefUnwindSafe for ParserErrorKind<T>where
T: RefUnwindSafe,
impl<T> Unpin for ParserErrorKind<T>where
T: Unpin,
impl<T> UnsafeUnpin for ParserErrorKind<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ParserErrorKind<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> AsCtxPtr for Twhere
T: ?Sized,
impl<T> AsCtxPtr for Twhere
T: ?Sized,
Source§fn as_ctx_ptr(&self) -> *mut Selfwhere
Self: Sized,
fn as_ctx_ptr(&self) -> *mut Selfwhere
Self: Sized,
self’s address as *mut Self for deferred-task / scopeguard /
ref_guard ctx slots. The closures/trampolines deref it as shared
(&*p) — every method they reach is &self post-R-2, so no write
provenance is required; the *mut spelling is purely to match the
existing DerefOnDrop / HasAutoFlush / RefCount ABI.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