Type Alias SharedString

Source
pub type SharedString = Cow<'static, str>;

Aliased Type§

pub enum SharedString {
    Borrowed(&'static str),
    Owned(String),
}

Variants§

§1.0.0

Borrowed(&'static str)

Borrowed data.

§1.0.0

Owned(String)

Owned data.