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