Enum ioc::LockError [] [src]

pub enum LockError<K> {
    NotFound {
        key: K,
    },
    Poisoned {
        key: K,
    },
    MismatchedType {
        key: K,
        expected: TypeId,
        found: TypeId,
    },
}

Variants

NotFound

Fields

key: K
Poisoned

Fields

key: K
MismatchedType

Fields

key: K
expected: TypeId
found: TypeId

Trait Implementations

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

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.