Enum kanjidic_parser::PinYinError
source · [−]pub enum PinYinError {
Shared(SharedError),
Parse(PosError, PinYinParseError),
}
Variants
Shared(SharedError)
Parse(PosError, PinYinParseError)
Trait Implementations
sourceimpl Clone for PinYinError
impl Clone for PinYinError
sourcefn clone(&self) -> PinYinError
fn clone(&self) -> PinYinError
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 PinYinError
impl Debug for PinYinError
sourceimpl Display for PinYinError
impl Display for PinYinError
sourceimpl Error for PinYinError
impl Error for PinYinError
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<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 PartialEq<PinYinError> for PinYinError
impl PartialEq<PinYinError> for PinYinError
sourcefn eq(&self, other: &PinYinError) -> bool
fn eq(&self, other: &PinYinError) -> bool
impl Eq for PinYinError
impl StructuralEq for PinYinError
impl StructuralPartialEq for PinYinError
Auto Trait Implementations
impl RefUnwindSafe for PinYinError
impl Send for PinYinError
impl Sync for PinYinError
impl Unpin for PinYinError
impl UnwindSafe for PinYinError
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