[][src]Enum hifitime::Errors

pub enum Errors {
    Carry,
    ParseError(String),
}

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]

impl Debug for Errors[src]

impl Display for Errors[src]

Auto Trait Implementations

impl Send for Errors

impl Sync for Errors

impl Unpin for Errors

impl UnwindSafe for Errors

impl RefUnwindSafe for Errors

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,