[][src]Trait redis_lua::Script

pub trait Script {
    fn info(&self, _: &mut Vec<Info>, _: &mut Vec<ScriptArg>);

    fn join<T: Script>(self, other: T) -> ScriptJoin<Self, T>
    where
        Self: Sized
, { ... }
fn invoke<T>(self, con: &mut dyn ConnectionLike) -> RedisResult<T>
    where
        T: FromRedisValue,
        Self: Sized
, { ... }
fn invoke_async<'a, C, T>(self, con: &'a mut C) -> RedisFuture<'a, T>
    where
        C: ConnectionLike + Send,
        T: FromRedisValue + Send,
        Self: Sized + Send + 'a
, { ... } }

Represents a complete invocable script which has a complete set of arguments.

Required methods

fn info(&self, _: &mut Vec<Info>, _: &mut Vec<ScriptArg>)

Retrieve all the script information.

Loading content...

Provided methods

fn join<T: Script>(self, other: T) -> ScriptJoin<Self, T> where
    Self: Sized

Join another script making self as inner.

fn invoke<T>(self, con: &mut dyn ConnectionLike) -> RedisResult<T> where
    T: FromRedisValue,
    Self: Sized

Invoke the script.

fn invoke_async<'a, C, T>(self, con: &'a mut C) -> RedisFuture<'a, T> where
    C: ConnectionLike + Send,
    T: FromRedisValue + Send,
    Self: Sized + Send + 'a, 

Invoke the script asynchronously.

Loading content...

Implementations on Foreign Types

impl<S: Script + ?Sized> Script for Box<S>[src]

impl Script for ()[src]

Loading content...

Implementors

impl<S, T> Script for ScriptJoin<S, T> where
    S: Script,
    T: Script
[src]

Loading content...