Enum warmy::StoreErrorOr [] [src]

pub enum StoreErrorOr<T> where
    T: Load
{ StoreError(StoreError), ResError(T::Error), }

Either a store error or a resource loading error.

Variants

A store error.

A resource error.

Trait Implementations

impl<T> Clone for StoreErrorOr<T> where
    T: Load,
    T::Error: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T> Eq for StoreErrorOr<T> where
    T: Load,
    T::Error: Eq
[src]

impl<T> PartialEq for StoreErrorOr<T> where
    T: Load,
    T::Error: PartialEq
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl<T> Debug for StoreErrorOr<T> where
    T: Load,
    T::Error: Debug
[src]

[src]

Formats the value using the given formatter.

impl<T> Display for StoreErrorOr<T> where
    T: Load,
    T::Error: Debug
[src]

[src]

Formats the value using the given formatter. Read more

impl<T> Error for StoreErrorOr<T> where
    T: Load,
    T::Error: Debug
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more