Enum kanjidic_parser::KunyomiError
source · [−]pub enum KunyomiError {
Shared(SharedError),
Parse(PosError, KunyomiParseError),
}
Variants
Shared(SharedError)
Parse(PosError, KunyomiParseError)
Trait Implementations
sourceimpl Clone for KunyomiError
impl Clone for KunyomiError
sourcefn clone(&self) -> KunyomiError
fn clone(&self) -> KunyomiError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for KunyomiError
impl Debug for KunyomiError
sourceimpl Display for KunyomiError
impl Display for KunyomiError
sourceimpl Error for KunyomiError
impl Error for KunyomiError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<KunyomiError> for ReadingError
impl From<KunyomiError> for ReadingError
sourcefn from(source: KunyomiError) -> Self
fn from(source: KunyomiError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<KunyomiError> for KunyomiError
impl PartialEq<KunyomiError> for KunyomiError
sourcefn eq(&self, other: &KunyomiError) -> bool
fn eq(&self, other: &KunyomiError) -> bool
impl Eq for KunyomiError
impl StructuralEq for KunyomiError
impl StructuralPartialEq for KunyomiError
Auto Trait Implementations
impl RefUnwindSafe for KunyomiError
impl Send for KunyomiError
impl Sync for KunyomiError
impl Unpin for KunyomiError
impl UnwindSafe for KunyomiError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more