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