Trait IntoArgs

Source
pub trait IntoArgs {
    // Required method
    fn into_args(self, args: CommandArgs) -> CommandArgs;

    // Provided method
    fn num_args(&self) -> usize { ... }
}
Expand description

Types compatible with command args

Required Methods§

Provided Methods§

Source

fn num_args(&self) -> usize

Implementations on Foreign Types§

Source§

impl<K, V> IntoArgs for BTreeMap<K, V>
where K: Into<CommandArg>, V: Into<CommandArg>,

Source§

impl<K, V, S: BuildHasher> IntoArgs for HashMap<K, V, S>
where K: Into<CommandArg>, V: Into<CommandArg>,

Source§

impl<T> IntoArgs for Option<T>
where T: IntoArgs,

Source§

impl<T> IntoArgs for BTreeSet<T>
where T: IntoArgs,

Source§

impl<T> IntoArgs for Vec<T>
where T: IntoArgs,

Source§

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

Source§

impl<T, S: BuildHasher> IntoArgs for HashSet<T, S>
where T: IntoArgs,

Source§

impl<T, U> IntoArgs for (T, U)
where T: IntoArgs, U: IntoArgs,

Source§

impl<T, U, V> IntoArgs for (T, U, V)
where T: IntoArgs, U: IntoArgs, V: IntoArgs,

Source§

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

Implementors§

Source§

impl IntoArgs for BitFieldOverflow

Source§

impl IntoArgs for BitOperation

Source§

impl IntoArgs for BitUnit

Source§

impl IntoArgs for ClientCachingMode

Source§

impl IntoArgs for ClientPauseMode

Source§

impl IntoArgs for ClientReplyMode

Source§

impl IntoArgs for ClientTrackingStatus

Source§

impl IntoArgs for ClientType

Source§

impl IntoArgs for ClientUnblockMode

Source§

impl IntoArgs for ClusterFailoverOption

Source§

impl IntoArgs for ClusterResetType

Source§

impl IntoArgs for ClusterSetSlotSubCommand

Source§

impl IntoArgs for ExpireOption

Source§

impl IntoArgs for FlushingMode

Source§

impl IntoArgs for FunctionRestorePolicy

Source§

impl IntoArgs for GeoAddCondition

Source§

impl IntoArgs for GeoSearchBy

Source§

impl IntoArgs for GeoSearchOrder

Source§

impl IntoArgs for GeoUnit

Source§

impl IntoArgs for GetExOptions

Source§

impl IntoArgs for LInsertWhere

Source§

impl IntoArgs for LMoveWhere

Source§

impl IntoArgs for ScriptDebugMode

Source§

impl IntoArgs for SentinelSimulateFailureMode

Source§

impl IntoArgs for SetCondition

Source§

impl IntoArgs for SetExpiration

Source§

impl IntoArgs for SortOrder

Source§

impl IntoArgs for XTrimOperator

Source§

impl IntoArgs for ZAddComparison

Source§

impl IntoArgs for ZAddCondition

Source§

impl IntoArgs for ZAggregate

Source§

impl IntoArgs for ZRangeSortBy

Source§

impl IntoArgs for ZWhere

Source§

impl IntoArgs for CommandArgs

Allow to merge CommandArgs in another CommandArgs

Source§

impl IntoArgs for AclCatOptions

Source§

impl IntoArgs for AclDryRunOptions

Source§

impl IntoArgs for AclGenPassOptions

Source§

impl IntoArgs for AclLogOptions

Source§

impl IntoArgs for BitRange

Source§

impl IntoArgs for CallBuilder

Source§

impl IntoArgs for ClientKillOptions

Source§

impl IntoArgs for ClientListOptions

Source§

impl IntoArgs for ClientTrackingOptions

Source§

impl IntoArgs for CommandListOptions

Source§

impl IntoArgs for FailOverOptions

Source§

impl IntoArgs for FunctionListOptions

Source§

impl IntoArgs for GeoSearchOptions

Source§

impl IntoArgs for GeoSearchStoreOptions

Source§

impl IntoArgs for HScanOptions

Source§

impl IntoArgs for HelloOptions

Source§

impl IntoArgs for LolWutOptions

Source§

impl IntoArgs for MemoryUsageOptions

Source§

impl IntoArgs for MigrateOptions

Source§

impl IntoArgs for ModuleLoadOptions

Source§

impl IntoArgs for PingOptions

Source§

impl IntoArgs for PubSubChannelsOptions

Source§

impl IntoArgs for ReplicaOfOptions

Source§

impl IntoArgs for RestoreOptions

Source§

impl IntoArgs for SScanOptions

Source§

impl IntoArgs for ScanOptions

Source§

impl IntoArgs for ShutdownOptions

Source§

impl IntoArgs for SlowLogOptions

Source§

impl IntoArgs for SortOptions

Source§

impl IntoArgs for XAddOptions

Source§

impl IntoArgs for XAutoClaimOptions

Source§

impl IntoArgs for XClaimOptions

Source§

impl IntoArgs for XGroupCreateOptions

Source§

impl IntoArgs for XInfoStreamOptions

Source§

impl IntoArgs for XPendingOptions

Source§

impl IntoArgs for XReadGroupOptions

Source§

impl IntoArgs for XReadOptions

Source§

impl IntoArgs for XTrimOptions

Source§

impl IntoArgs for ZAddOptions

Source§

impl IntoArgs for ZRangeOptions

Source§

impl IntoArgs for ZScanOptions

Source§

impl<E, O> IntoArgs for BitFieldSubCommand<E, O>
where E: Into<CommandArg>, O: Into<CommandArg>,

Source§

impl<E, O> IntoArgs for BitFieldGetSubCommand<E, O>
where E: Into<CommandArg>, O: Into<CommandArg>,

Source§

impl<M> IntoArgs for GeoSearchFrom<M>
where M: Into<CommandArg>,

Source§

impl<T> IntoArgs for T
where T: Into<CommandArg>,