Enum kanjidic_parser::CharacterError
source · [−]pub enum CharacterError {
Show 13 variants
Shared(SharedError),
Codepoint(CodepointError),
Radical(RadicalError),
Grade(GradeError),
StrokeCount(StrokeCountError),
Variant(VariantError),
Translation(TranslationError),
Reading(ReadingError),
QueryCode(QueryCodeError),
DictionaryReference(ReferenceError),
NanoriText(PosError),
NonCharString,
IncompleteCharacter,
}
Variants
Shared(SharedError)
Codepoint(CodepointError)
Radical(RadicalError)
Grade(GradeError)
StrokeCount(StrokeCountError)
Variant(VariantError)
Translation(TranslationError)
Reading(ReadingError)
QueryCode(QueryCodeError)
DictionaryReference(ReferenceError)
NanoriText(PosError)
NonCharString
IncompleteCharacter
Trait Implementations
sourceimpl Debug for CharacterError
impl Debug for CharacterError
sourceimpl Display for CharacterError
impl Display for CharacterError
sourceimpl Error for CharacterError
impl Error for CharacterError
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<CharacterError> for KanjidicError
impl From<CharacterError> for KanjidicError
sourcefn from(source: CharacterError) -> Self
fn from(source: CharacterError) -> Self
Converts to this type from the input type.
sourceimpl From<CodepointError> for CharacterError
impl From<CodepointError> for CharacterError
sourcefn from(source: CodepointError) -> Self
fn from(source: CodepointError) -> Self
Converts to this type from the input type.
sourceimpl From<GradeError> for CharacterError
impl From<GradeError> for CharacterError
sourcefn from(source: GradeError) -> Self
fn from(source: GradeError) -> Self
Converts to this type from the input type.
sourceimpl From<QueryCodeError> for CharacterError
impl From<QueryCodeError> for CharacterError
sourcefn from(source: QueryCodeError) -> Self
fn from(source: QueryCodeError) -> Self
Converts to this type from the input type.
sourceimpl From<RadicalError> for CharacterError
impl From<RadicalError> for CharacterError
sourcefn from(source: RadicalError) -> Self
fn from(source: RadicalError) -> 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 From<ReferenceError> for CharacterError
impl From<ReferenceError> for CharacterError
sourcefn from(source: ReferenceError) -> Self
fn from(source: ReferenceError) -> Self
Converts to this type from the input type.
sourceimpl From<StrokeCountError> for CharacterError
impl From<StrokeCountError> for CharacterError
sourcefn from(source: StrokeCountError) -> Self
fn from(source: StrokeCountError) -> Self
Converts to this type from the input type.
sourceimpl From<TranslationError> for CharacterError
impl From<TranslationError> for CharacterError
sourcefn from(source: TranslationError) -> Self
fn from(source: TranslationError) -> Self
Converts to this type from the input type.
sourceimpl From<VariantError> for CharacterError
impl From<VariantError> for CharacterError
sourcefn from(source: VariantError) -> Self
fn from(source: VariantError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CharacterError> for CharacterError
impl PartialEq<CharacterError> for CharacterError
sourcefn eq(&self, other: &CharacterError) -> bool
fn eq(&self, other: &CharacterError) -> bool
impl Eq for CharacterError
impl StructuralEq for CharacterError
impl StructuralPartialEq for CharacterError
Auto Trait Implementations
impl RefUnwindSafe for CharacterError
impl Send for CharacterError
impl Sync for CharacterError
impl Unpin for CharacterError
impl UnwindSafe for CharacterError
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