[−][src]Enum hifitime::Errors
Errors handles all oddities which may occur in this library.
Variants
Carry
Carry is returned when a provided function does not support time carry. For example,
if a call to Datetime::new
receives 60 seconds and there are only 59 seconds in the provided
date time then a Carry Error is returned as the Result.
ParseError(String)
ParseError is returned when a provided string could not be parsed and converted to the desired struct (e.g. Datetime).
Trait Implementations
impl From<ParseIntError> for Errors
[src]
fn from(error: ParseIntError) -> Self
[src]
impl Display for Errors
[src]
impl Debug for Errors
[src]
Auto Trait Implementations
impl Unpin for Errors
impl Sync for Errors
impl Send for Errors
impl UnwindSafe for Errors
impl RefUnwindSafe for Errors
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,