Struct mt940::VariantNotFound
source · [−]pub struct VariantNotFound(pub String);
Expand description
Error thrown if a variant for an enum can’t be found.
Tuple Fields
0: String
Trait Implementations
sourceimpl Clone for VariantNotFound
impl Clone for VariantNotFound
sourcefn clone(&self) -> VariantNotFound
fn clone(&self) -> VariantNotFound
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 VariantNotFound
impl Debug for VariantNotFound
sourceimpl Display for VariantNotFound
impl Display for VariantNotFound
sourceimpl Error for VariantNotFound
impl Error for VariantNotFound
1.30.0 · 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<VariantNotFound> for ParseError
impl From<VariantNotFound> for ParseError
sourcefn from(err: VariantNotFound) -> ParseError
fn from(err: VariantNotFound) -> ParseError
Converts to this type from the input type.
sourceimpl PartialEq<VariantNotFound> for VariantNotFound
impl PartialEq<VariantNotFound> for VariantNotFound
sourcefn eq(&self, other: &VariantNotFound) -> bool
fn eq(&self, other: &VariantNotFound) -> bool
impl Eq for VariantNotFound
impl StructuralEq for VariantNotFound
impl StructuralPartialEq for VariantNotFound
Auto Trait Implementations
impl RefUnwindSafe for VariantNotFound
impl Send for VariantNotFound
impl Sync for VariantNotFound
impl Unpin for VariantNotFound
impl UnwindSafe for VariantNotFound
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