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 for StoreErrorOr<T> where
T: Load,
T::Error: Clone,
[src]
T: Load,
T::Error: Clone,
fn clone(&self) -> Self
[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> Eq for StoreErrorOr<T> where
T: Load,
T::Error: Eq,
[src]
T: Load,
T::Error: Eq,
impl<T> PartialEq for StoreErrorOr<T> where
T: Load,
T::Error: PartialEq,
[src]
T: Load,
T::Error: PartialEq,
fn eq(&self, rhs: &Self) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<T> Debug for StoreErrorOr<T> where
T: Load,
T::Error: Debug,
[src]
T: Load,
T::Error: Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl<T> Display for StoreErrorOr<T> where
T: Load,
T::Error: Debug,
[src]
T: Load,
T::Error: Debug,
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: Load,
T::Error: Debug,
[src]
T: Load,
T::Error: Debug,