Enum kanjidic_parser::ReadingError
source · [−]pub enum ReadingError {
Shared(SharedError),
UnrecognizedType(PosError),
PinYin(PinYinError),
Kunyomi(KunyomiError),
}
Variants
Shared(SharedError)
UnrecognizedType(PosError)
PinYin(PinYinError)
Kunyomi(KunyomiError)
Trait Implementations
sourceimpl Clone for ReadingError
impl Clone for ReadingError
sourcefn clone(&self) -> ReadingError
fn clone(&self) -> ReadingError
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 ReadingError
impl Debug for ReadingError
sourceimpl Display for ReadingError
impl Display for ReadingError
sourceimpl Error for ReadingError
impl Error for ReadingError
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 From<PinYinError> for ReadingError
impl From<PinYinError> for ReadingError
sourcefn from(source: PinYinError) -> Self
fn from(source: PinYinError) -> Self
Converts to this type from the input type.
sourceimpl From<ReadingError> for CharacterError
impl From<ReadingError> for CharacterError
sourcefn from(source: ReadingError) -> Self
fn from(source: ReadingError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ReadingError> for ReadingError
impl PartialEq<ReadingError> for ReadingError
sourcefn eq(&self, other: &ReadingError) -> bool
fn eq(&self, other: &ReadingError) -> bool
impl Eq for ReadingError
impl StructuralEq for ReadingError
impl StructuralPartialEq for ReadingError
Auto Trait Implementations
impl RefUnwindSafe for ReadingError
impl Send for ReadingError
impl Sync for ReadingError
impl Unpin for ReadingError
impl UnwindSafe for ReadingError
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