Type Alias Key

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

A Key is simply an alias for Cow<str>

Aliased Type§

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

Variants§

§1.0.0

Borrowed(&'a str)

Borrowed data.

§1.0.0

Owned(String)

Owned data.