[][src]Struct deadpool_redis::Pipeline

pub struct Pipeline { /* fields omitted */ }

Methods

impl Pipeline[src]

pub fn new() -> Pipeline[src]

pub fn with_capacity(capacity: usize) -> Pipeline[src]

pub fn cmd(&mut self, name: &str) -> &mut Pipeline[src]

pub fn add_command(&mut self, cmd: Cmd) -> &mut Pipeline[src]

pub fn arg<T: ToRedisArgs>(&mut self, arg: T) -> &mut Pipeline[src]

pub fn ignore(&mut self) -> &mut Pipeline[src]

pub fn atomic(&mut self) -> &mut Pipeline[src]

pub fn get_packed_pipeline(&self, atomic: bool) -> Vec<u8>[src]

pub async fn query<'_, '_, T: FromRedisValue>(
    &'_ self,
    con: &'_ mut Connection
) -> RedisResult<T>
[src]

pub fn clear(&mut self)[src]

pub async fn execute<'_, '_>(
    &'_ self,
    con: &'_ mut Connection
) -> RedisResult<()>
[src]

Trait Implementations

impl From<Pipeline> for Pipeline[src]

impl Into<Pipeline> for Pipeline[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.