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
StoreError(StoreError)A store error.
ResError(T::Error)A resource error.
Trait Implementations
impl<T: Clone> Clone for StoreErrorOr<T> where
T: Load,
T::Error: Clone, [src]
T: Load,
T::Error: Clone,
fn clone(&self) -> StoreErrorOr<T>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<T: Debug> Debug for StoreErrorOr<T> where
T: Load,
T::Error: Debug, [src]
T: Load,
T::Error: Debug,
impl<T: Eq> Eq for StoreErrorOr<T> where
T: Load,
T::Error: Eq, [src]
T: Load,
T::Error: Eq,
impl<T: PartialEq> PartialEq for StoreErrorOr<T> where
T: Load,
T::Error: PartialEq, [src]
T: Load,
T::Error: PartialEq,
fn eq(&self, __arg_0: &StoreErrorOr<T>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &StoreErrorOr<T>) -> bool[src]
This method tests for !=.
impl<T> Display for StoreErrorOr<T> where
T: Debug + Load, [src]
T: Debug + Load,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more
impl<T> Error for StoreErrorOr<T> where
T: Debug + Load, [src]
T: Debug + Load,