[−][src]Enum kul_core::Error
The possible errors that might be returned by parsing.
It is generic over the SourcePosition
and CombinerError
type parameters
to enable different applications to customize what they use for these
general aspects.
Variants
UnbalancedEndChar(SourcePosition)
Close-bracket without matching open-bracket
MissingEndChar
End-of-stream reached inside nest form
FailedAlloc(AllocError)
Datum
allocator error
FailedDerefTryMut
DerefTryMut::get_mut
failed
FailedCombiner(CombinerError)
Extensibility that custom macros/combiners may utilize to add additional error variants
Trait Implementations
impl<SourcePosition: Clone, CombinerError: Clone> Clone for Error<SourcePosition, CombinerError>
[src]
fn clone(&self) -> Error<SourcePosition, CombinerError>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<SourcePosition: Debug, CombinerError: Debug> Debug for Error<SourcePosition, CombinerError>
[src]
impl<P1, P2, CE1, CE2> PartialEq<Error<P2, CE2>> for Error<P1, CE1> where
P1: PartialEq<P2>,
CE1: PartialEq<CE2>,
[src]
P1: PartialEq<P2>,
CE1: PartialEq<CE2>,
This allows different concrete Error
types to be
compared with each other for equality if their source position
types and combiner error
types can be.
fn eq(&self, other: &Error<P2, CE2>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<SourcePosition: Eq, CombinerError: Eq> Eq for Error<SourcePosition, CombinerError>
[src]
impl<Pos, CE> From<AllocError> for Error<Pos, CE>
[src]
fn from(ae: AllocError) -> Self
[src]
impl<SourcePosition: Copy, CombinerError: Copy> Copy for Error<SourcePosition, CombinerError>
[src]
Auto Trait Implementations
impl<SourcePosition, CombinerError> Send for Error<SourcePosition, CombinerError> where
CombinerError: Send,
SourcePosition: Send,
CombinerError: Send,
SourcePosition: Send,
impl<SourcePosition, CombinerError> Sync for Error<SourcePosition, CombinerError> where
CombinerError: Sync,
SourcePosition: Sync,
CombinerError: Sync,
SourcePosition: Sync,
Blanket Implementations
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> From for T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,