Enum warmy::StoreError [] [src]

pub enum StoreError {
    RootDoesDotExit(PathBuf),
    AlreadyRegisteredKey(DepKey),
}

Error that might happen when creating a resource store.

Variants

The root path for the resources was not found.

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

impl Clone for StoreError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for StoreError
[src]

[src]

Formats the value using the given formatter.

impl Eq for StoreError
[src]

impl PartialEq for StoreError
[src]

[src]

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

[src]

This method tests for !=.

impl Display for StoreError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for StoreError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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