Trait redis_driver::ScriptingCommands
source · [−]pub trait ScriptingCommands: CommandSend {
fn eval<S>(&self, script: S) -> Eval<'_, Self>
where
S: Into<BulkString> + Send,
{ ... }
fn evalsha<S>(&self, sha1: S) -> Eval<'_, Self>
where
S: Into<BulkString> + Send,
{ ... }
fn script_load<'a, S, V>(
&'a self,
script: S
) -> Pin<Box<dyn Future<Output = Result<V>> + 'a>>
where
S: Into<BulkString> + Send,
V: FromValue + Send + 'a,
{ ... }
}
Expand description
A group of Redis commands related to Scripting and Functions
See Also
Redis Scripting and Functions Commands Scripting with LUA Functions
Provided Methods
This command copies the value stored at the source key to the destination key.
See Also
Evaluate a script from the server’s cache by its SHA1 digest.