Enum warmy::StoreError
[−]
[src]
pub enum StoreError {
RootDoesDotExit(PathBuf),
AlreadyRegisteredPath(PathBuf),
}Error that might happen when creating a resource store.
Variants
RootDoesDotExit(PathBuf)The root path for the resources was not found.
AlreadyRegisteredPath(PathBuf)The path associated with a resource already exists in the Store.
Note: it is not currently possible to have two resources living in a
Storeand pointing to an identical path at the same time.
Trait Implementations
impl Clone for StoreError[src]
fn clone(&self) -> StoreError[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 Debug for StoreError[src]
impl Eq for StoreError[src]
impl PartialEq for StoreError[src]
fn eq(&self, __arg_0: &StoreError) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &StoreError) -> bool[src]
This method tests for !=.
impl Display for StoreError[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more