Type Alias KeyStrType

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

The string type used. Can be toggled between &str and Cow via cowstr feature flag

Aliased Type§

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

Variants§

§1.0.0

Borrowed(&'a str)

Borrowed data.

§1.0.0

Owned(String)

Owned data.