Enum cachy::CacheId [] [src]

pub enum CacheId {
    USize(usize),
    U32(u32),
    U64(u64),
    ISize(isize),
    I32(i32),
    I64(i64),
    Str(String),
}

The identifier that the cache uses to make resources unique

Variants

Trait Implementations

impl Debug for CacheId
[src]

Formats the value using the given formatter.

impl Clone for CacheId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for CacheId
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for CacheId
[src]

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

This method tests for !=.

impl Eq for CacheId
[src]