Trait redis_driver::resp::IntoArgs
source · pub trait IntoArgs {
fn into_args(self, args: CommandArgs) -> CommandArgs;
fn num_args(&self) -> usize { ... }
}
Expand description
Types compatible with command args
Required Methods
fn into_args(self, args: CommandArgs) -> CommandArgs
Provided Methods
Implementations on Foreign Types
sourceimpl<T> IntoArgs for Option<T>where
T: IntoArgs,
impl<T> IntoArgs for Option<T>where
T: IntoArgs,
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
sourceimpl<T, const N: usize> IntoArgs for [T; N]where
T: IntoArgs,
impl<T, const N: usize> IntoArgs for [T; N]where
T: IntoArgs,
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
sourceimpl<T> IntoArgs for Vec<T>where
T: IntoArgs,
impl<T> IntoArgs for Vec<T>where
T: IntoArgs,
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
sourceimpl<T, A> IntoArgs for SmallVec<A>where
A: Array<Item = T>,
T: IntoArgs,
impl<T, A> IntoArgs for SmallVec<A>where
A: Array<Item = T>,
T: IntoArgs,
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
sourceimpl<T, S: BuildHasher> IntoArgs for HashSet<T, S>where
T: IntoArgs,
impl<T, S: BuildHasher> IntoArgs for HashSet<T, S>where
T: IntoArgs,
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
sourceimpl<T> IntoArgs for BTreeSet<T>where
T: IntoArgs,
impl<T> IntoArgs for BTreeSet<T>where
T: IntoArgs,
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
sourceimpl<K, V, S: BuildHasher> IntoArgs for HashMap<K, V, S>where
K: Into<BulkString>,
V: Into<BulkString>,
impl<K, V, S: BuildHasher> IntoArgs for HashMap<K, V, S>where
K: Into<BulkString>,
V: Into<BulkString>,
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
sourceimpl<K, V> IntoArgs for BTreeMap<K, V>where
K: Into<BulkString>,
V: Into<BulkString>,
impl<K, V> IntoArgs for BTreeMap<K, V>where
K: Into<BulkString>,
V: Into<BulkString>,
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
sourceimpl<T, U> IntoArgs for (T, U)where
T: IntoArgs,
U: IntoArgs,
impl<T, U> IntoArgs for (T, U)where
T: IntoArgs,
U: IntoArgs,
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
sourceimpl<T, U, V> IntoArgs for (T, U, V)where
T: IntoArgs,
U: IntoArgs,
V: IntoArgs,
impl<T, U, V> IntoArgs for (T, U, V)where
T: IntoArgs,
U: IntoArgs,
V: IntoArgs,
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Implementors
impl IntoArgs for BitFieldOverflow
impl IntoArgs for BitOperation
impl IntoArgs for BitUnit
impl IntoArgs for ClientCachingMode
impl IntoArgs for ClientPauseMode
impl IntoArgs for ClientReplyMode
impl IntoArgs for ClientTrackingStatus
impl IntoArgs for ClientType
impl IntoArgs for ClientUnblockMode
impl IntoArgs for ClusterFailoverOption
impl IntoArgs for ClusterResetType
impl IntoArgs for ClusterSetSlotSubCommand
impl IntoArgs for ExpireOption
impl IntoArgs for FlushingMode
impl IntoArgs for FunctionRestorePolicy
impl IntoArgs for GeoAddCondition
impl IntoArgs for GeoSearchBy
impl IntoArgs for GeoSearchOrder
impl IntoArgs for GeoUnit
impl IntoArgs for GetExOptions
impl IntoArgs for LInsertWhere
impl IntoArgs for LMoveWhere
impl IntoArgs for ScriptDebugMode
impl IntoArgs for SetCondition
impl IntoArgs for SetExpiration
impl IntoArgs for SortOrder
impl IntoArgs for XTrimOperator
impl IntoArgs for ZAddComparison
impl IntoArgs for ZAddCondition
impl IntoArgs for ZAggregate
impl IntoArgs for ZRangeSortBy
impl IntoArgs for ZWhere
impl IntoArgs for CommandArgs
Allow to merge CommandArgs
in another CommandArgs