Skip to main content

CacheId

Type Alias CacheId 

Source
pub type CacheId<'a> = Cow<'a, str>;
Expand description

Unique identifier of the Cache object.

Aliased Type§

pub enum CacheId<'a> {
    Borrowed(&'a str),
    Owned(String),
}

Variants§

§1.0.0

Borrowed(&'a str)

Borrowed data.

§1.0.0

Owned(String)

Owned data.