Enum kanjidic_types::NomErrorReason
source · pub enum NomErrorReason {
Incomplete,
Error(ErrorKind),
}
Variants§
Trait Implementations§
source§impl Clone for NomErrorReason
impl Clone for NomErrorReason
source§fn clone(&self) -> NomErrorReason
fn clone(&self) -> NomErrorReason
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NomErrorReason
impl Debug for NomErrorReason
source§impl Display for NomErrorReason
impl Display for NomErrorReason
source§impl Error for NomErrorReason
impl Error for NomErrorReason
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for NomErrorReason
impl PartialEq for NomErrorReason
source§fn eq(&self, other: &NomErrorReason) -> bool
fn eq(&self, other: &NomErrorReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NomErrorReason
impl StructuralEq for NomErrorReason
impl StructuralPartialEq for NomErrorReason
Auto Trait Implementations§
impl RefUnwindSafe for NomErrorReason
impl Send for NomErrorReason
impl Sync for NomErrorReason
impl Unpin for NomErrorReason
impl UnwindSafe for NomErrorReason
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