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