pub type FosterByteStringVector = Foster<Vec<ByteString>, &'static [&'static str]>;
Available on crate feature
byte_string
only.Expand description
Foster for Vec<ByteString>.
Supports IntoOwned, HasLength, Eq/PartialEq, Ord/PartialOrd, Hash, and IntoIterator.
Aliased Type§
pub enum FosterByteStringVector {
Owned(Vec<ByteString>),
Fostered(&'static [&'static str]),
}
Variants§
Trait Implementations§
Source§impl Hash for FosterByteStringVector
impl Hash for FosterByteStringVector
Source§impl<'own> IntoIterator for &'own FosterByteStringVector
impl<'own> IntoIterator for &'own FosterByteStringVector
Source§type IntoIter = Foster<ConvertingIterator<&'own str, Iter<'own, ByteString>, &'own ByteString>, ConvertingIterator<&'own str, Iter<'own, &'static str>, &'own &'static str>>
type IntoIter = Foster<ConvertingIterator<&'own str, Iter<'own, ByteString>, &'own ByteString>, ConvertingIterator<&'own str, Iter<'own, &'static str>, &'own &'static str>>
Which kind of iterator are we turning this into?
Source§impl IntoOwned for FosterByteStringVector
impl IntoOwned for FosterByteStringVector
Source§fn into_owned(self) -> Self
fn into_owned(self) -> Self
Into owned.