Struct mt940::UnexpectedTagError
source · [−]pub struct UnexpectedTagError { /* private fields */ }
Expand description
Error thrown when an unexpected tag was found.
Some tags must never follow other tags. If that happens for some reason, we can safely assume that the input data is faulty.
Implementations
Trait Implementations
sourceimpl Clone for UnexpectedTagError
impl Clone for UnexpectedTagError
sourcefn clone(&self) -> UnexpectedTagError
fn clone(&self) -> UnexpectedTagError
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 UnexpectedTagError
impl Debug for UnexpectedTagError
sourceimpl Display for UnexpectedTagError
impl Display for UnexpectedTagError
sourceimpl Error for UnexpectedTagError
impl Error for UnexpectedTagError
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<UnexpectedTagError> for ParseError
impl From<UnexpectedTagError> for ParseError
sourcefn from(err: UnexpectedTagError) -> ParseError
fn from(err: UnexpectedTagError) -> ParseError
Converts to this type from the input type.
sourceimpl PartialEq<UnexpectedTagError> for UnexpectedTagError
impl PartialEq<UnexpectedTagError> for UnexpectedTagError
sourcefn eq(&self, other: &UnexpectedTagError) -> bool
fn eq(&self, other: &UnexpectedTagError) -> bool
impl Eq for UnexpectedTagError
impl StructuralEq for UnexpectedTagError
impl StructuralPartialEq for UnexpectedTagError
Auto Trait Implementations
impl RefUnwindSafe for UnexpectedTagError
impl Send for UnexpectedTagError
impl Sync for UnexpectedTagError
impl Unpin for UnexpectedTagError
impl UnwindSafe for UnexpectedTagError
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