Trait rustis::resp::SingleArgCollection

source ·
pub trait SingleArgCollection<T>: ToArgs
where T: SingleArg,
{ }
Expand description

Marker for collections of single items of ToArgs

Each element of the collection can only produce a single arg.

Implementations on Foreign Types§

source§

impl<A, T> SingleArgCollection<T> for SmallVec<A>
where A: Array<Item = T>, T: SingleArg,

source§

impl<T> SingleArgCollection<T> for &[T]
where T: SingleArg,

source§

impl<T> SingleArgCollection<T> for BTreeSet<T>
where T: SingleArg,

source§

impl<T> SingleArgCollection<T> for Vec<T>
where T: SingleArg,

source§

impl<T, S: BuildHasher> SingleArgCollection<T> for HashSet<T, S>
where T: SingleArg,

source§

impl<T, const N: usize> SingleArgCollection<T> for [T; N]
where T: SingleArg,

Implementors§