[][src]Enum warmy::load::StoreError

pub enum StoreError<K> {
    RootDoesNotExist(PathBuf),
    AlreadyRegisteredKey(K),
}

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

impl<K: PartialEq> PartialEq<StoreError<K>> for StoreError<K>[src]

impl<K: Clone> Clone for StoreError<K>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<K: Eq> Eq for StoreError<K>[src]

impl<K> Display for StoreError<K> where
    K: Display
[src]

impl<K: Debug> Debug for StoreError<K>[src]

Auto Trait Implementations

impl<K> Send for StoreError<K> where
    K: Send

impl<K> Unpin for StoreError<K> where
    K: Unpin

impl<K> Sync for StoreError<K> where
    K: Sync

impl<K> UnwindSafe for StoreError<K> where
    K: UnwindSafe

impl<K> RefUnwindSafe for StoreError<K> where
    K: RefUnwindSafe

Blanket Implementations

impl<'a, T, C, M> Inspect<'a, C, (), M> for T[src]

impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T[src]

impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]