pub type FosterByteStr = Foster<Box<ByteStr>, &'static str>;Expand description
Aliased Type§
enum FosterByteStr {
Owned(Box<ByteStr>),
Fostered(&'static str),
}Variants§
Trait Implementations§
Source§impl AsRef<str> for FosterByteStr
impl AsRef<str> for FosterByteStr
Source§impl Display for FosterByteStr
impl Display for FosterByteStr
Source§impl From<&str> for FosterByteStr
impl From<&str> for FosterByteStr
Source§impl Hash for FosterByteStr
impl Hash for FosterByteStr
Source§impl IntoOwned for FosterByteStr
impl IntoOwned for FosterByteStr
Source§fn into_owned(self) -> Self
fn into_owned(self) -> Self
Into owned.