Enum warmy::load::StoreErrorOr[][src]

pub enum StoreErrorOr<T, C, M = ()> where
    T: Load<C, M>, 
{ 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, C, M> Clone for StoreErrorOr<T, C, M> where
    T: Load<C, M>,
    T::Error: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

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

This method tests for !=.

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

Formats the value using the given formatter. Read more

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

Formats the value using the given formatter. Read more

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

This method is soft-deprecated. Read more

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

Auto Trait Implementations

impl<T, C, M> Send for StoreErrorOr<T, C, M> where
    <T as Load<C, M>>::Error: Send

impl<T, C, M> Sync for StoreErrorOr<T, C, M> where
    <T as Load<C, M>>::Error: Sync