Skip to main content

BooStr

Type Alias BooStr 

Source
pub type BooStr<'a> = Boo<'a, str, Str>;
Expand description

Borrowed-or-owned Str.

Aliased Type§

pub enum BooStr<'a> {
    Borrowed(&'a str),
    Owned(AnyStr<Bin>),
}

Variants§

§

Borrowed(&'a str)

It’s borrowed.

§

Owned(AnyStr<Bin>)

It’s owned.