Enum mt940::DateParseError
source · [−]pub enum DateParseError {
OutOfRange {
year: String,
month: String,
day: String,
},
PestParseError(Error<Rule>),
}
Variants
OutOfRange
PestParseError(Error<Rule>)
Trait Implementations
sourceimpl Clone for DateParseError
impl Clone for DateParseError
sourcefn clone(&self) -> DateParseError
fn clone(&self) -> DateParseError
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 DateParseError
impl Debug for DateParseError
sourceimpl Display for DateParseError
impl Display for DateParseError
sourceimpl Error for DateParseError
impl Error for DateParseError
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<DateParseError> for ParseError
impl From<DateParseError> for ParseError
sourcefn from(err: DateParseError) -> ParseError
fn from(err: DateParseError) -> ParseError
Converts to this type from the input type.
sourceimpl From<Error<Rule>> for DateParseError
impl From<Error<Rule>> for DateParseError
sourcefn from(err: Error<Rule>) -> DateParseError
fn from(err: Error<Rule>) -> DateParseError
Converts to this type from the input type.
sourceimpl PartialEq<DateParseError> for DateParseError
impl PartialEq<DateParseError> for DateParseError
sourcefn eq(&self, other: &DateParseError) -> bool
fn eq(&self, other: &DateParseError) -> bool
impl Eq for DateParseError
impl StructuralEq for DateParseError
impl StructuralPartialEq for DateParseError
Auto Trait Implementations
impl RefUnwindSafe for DateParseError
impl Send for DateParseError
impl Sync for DateParseError
impl Unpin for DateParseError
impl UnwindSafe for DateParseError
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