pub enum JulianDateParsingError {
IntegerParsingError(Error),
InvalidJulianDate(InvalidJulianDate),
InvalidMonthNumber(InvalidMonthNumber),
ExpectedYearMonthDelimiter,
MonthRepresentationNotTwoDigits,
ExpectedMonthDayDelimiter,
DayRepresentationNotTwoDigits,
UnexpectedRemainder,
}Variants§
IntegerParsingError(Error)
InvalidJulianDate(InvalidJulianDate)
InvalidMonthNumber(InvalidMonthNumber)
ExpectedYearMonthDelimiter
MonthRepresentationNotTwoDigits
ExpectedMonthDayDelimiter
DayRepresentationNotTwoDigits
UnexpectedRemainder
Trait Implementations§
Source§impl Clone for JulianDateParsingError
impl Clone for JulianDateParsingError
Source§fn clone(&self) -> JulianDateParsingError
fn clone(&self) -> JulianDateParsingError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for JulianDateParsingError
Source§impl Debug for JulianDateParsingError
impl Debug for JulianDateParsingError
Source§impl Display for JulianDateParsingError
impl Display for JulianDateParsingError
impl Eq for JulianDateParsingError
Source§impl Error for JulianDateParsingError
impl Error for JulianDateParsingError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for JulianDateParsingError
impl From<Error> for JulianDateParsingError
Source§impl From<InvalidJulianDate> for JulianDateParsingError
impl From<InvalidJulianDate> for JulianDateParsingError
Source§fn from(source: InvalidJulianDate) -> Self
fn from(source: InvalidJulianDate) -> Self
Converts to this type from the input type.
Source§impl From<InvalidMonthNumber> for JulianDateParsingError
impl From<InvalidMonthNumber> for JulianDateParsingError
Source§fn from(source: InvalidMonthNumber) -> Self
fn from(source: InvalidMonthNumber) -> Self
Converts to this type from the input type.
Source§impl PartialEq for JulianDateParsingError
impl PartialEq for JulianDateParsingError
Source§fn eq(&self, other: &JulianDateParsingError) -> bool
fn eq(&self, other: &JulianDateParsingError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JulianDateParsingError
Auto Trait Implementations§
impl Freeze for JulianDateParsingError
impl RefUnwindSafe for JulianDateParsingError
impl Send for JulianDateParsingError
impl Sync for JulianDateParsingError
impl Unpin for JulianDateParsingError
impl UnsafeUnpin for JulianDateParsingError
impl UnwindSafe for JulianDateParsingError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> TryIntoExact<T> for Uwhere
T: TryFromExact<U>,
impl<T, U> TryIntoExact<T> for Uwhere
T: TryFromExact<U>,
type Error = <T as TryFromExact<U>>::Error
Source§fn try_into_exact(self) -> Result<T, <U as TryIntoExact<T>>::Error>
fn try_into_exact(self) -> Result<T, <U as TryIntoExact<T>>::Error>
Tries to convert
self into type T. If this conversion may succeed without loss of
information, returns Ok(_) with the converted value. If any information may be lost (even
if it is only floating point rounding), returns None.