pub enum DateOfCreationError {
Shared(SharedError),
Format(NomErrorReason),
}
Expand description
Error while parsing date of creation
Variants
Shared(SharedError)
Format(NomErrorReason)
Trait Implementations
sourceimpl Debug for DateOfCreationError
impl Debug for DateOfCreationError
sourceimpl Display for DateOfCreationError
impl Display for DateOfCreationError
sourceimpl Error for DateOfCreationError
impl Error for DateOfCreationError
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<DateOfCreationError> for HeaderError
impl From<DateOfCreationError> for HeaderError
sourcefn from(source: DateOfCreationError) -> Self
fn from(source: DateOfCreationError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<DateOfCreationError> for DateOfCreationError
impl PartialEq<DateOfCreationError> for DateOfCreationError
sourcefn eq(&self, other: &DateOfCreationError) -> bool
fn eq(&self, other: &DateOfCreationError) -> bool
impl Eq for DateOfCreationError
impl StructuralEq for DateOfCreationError
impl StructuralPartialEq for DateOfCreationError
Auto Trait Implementations
impl RefUnwindSafe for DateOfCreationError
impl Send for DateOfCreationError
impl Sync for DateOfCreationError
impl Unpin for DateOfCreationError
impl UnwindSafe for DateOfCreationError
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