[][src]Struct libaster::redis::cmd::Cmd

pub struct Cmd { /* fields omitted */ }

Methods

impl Cmd[src]

pub fn cmd_reregister(&self, task: Task)[src]

pub fn set_is_ask(&self, is_ask: bool)[src]

pub fn is_ignore_reply(&self) -> bool[src]

pub fn is_ask(&self) -> bool[src]

pub fn is_complex(&self) -> bool[src]

pub fn set_is_complex(&self, is_complex: bool)[src]

pub fn cmd_type(&self) -> CmdType[src]

pub fn crc(&self) -> u16[src]

pub fn is_done(&self) -> bool[src]

pub fn done_with_error(&self, err: &Resp)[src]

pub fn done(&self, resp: Resp)[src]

pub fn rc_req(&self) -> Rc<Resp>[src]

pub fn sub_reqs(&self) -> Option<Vec<Cmd>>[src]

pub fn swap_reply(&self) -> Option<Resp>[src]

Trait Implementations

impl Request for Cmd[src]

type Reply = Resp

type HandleCodec = HandleCodec

type NodeCodec = NodeCodec

impl Drop for Cmd[src]

impl From<Resp> for Cmd[src]

impl Clone for Cmd[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Cmd[src]

Auto Trait Implementations

impl !Send for Cmd

impl !Sync for Cmd

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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

impl<T> Erased for T