Enum warmy::load::StoreError
source · pub enum StoreError<K> {
RootDoesNotExist(PathBuf),
AlreadyRegisteredKey(K),
}
Expand description
Error that might happen when handling a resource store around.
Variants§
RootDoesNotExist(PathBuf)
The root path for a filesystem resource was not found.
AlreadyRegisteredKey(K)
The key associated with a resource already exists in the Store
.
Note: it is not currently possible to have two resources living in a
Store
and using an identical key at the same time.
Trait Implementations§
source§impl<K: Clone> Clone for StoreError<K>
impl<K: Clone> Clone for StoreError<K>
source§fn clone(&self) -> StoreError<K>
fn clone(&self) -> StoreError<K>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more