[−][src]Struct libaster::redis::cmd::Cmd
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
fn reregister(&self, task: Task)[src]
fn handle_codec() -> Self::HandleCodec[src]
fn node_codec() -> Self::NodeCodec[src]
fn ping_request() -> Self[src]
fn key_hash(&self, hash_tag: &[u8], hasher: fn(_: &[u8]) -> u64) -> u64[src]
fn subs(&self) -> Option<Vec<Self>>[src]
fn is_done(&self) -> bool[src]
fn valid(&self) -> bool[src]
fn done(&self, data: Resp)[src]
fn done_with_error(&self, err: Error)[src]
impl Clone for Cmd[src]
fn clone(&self) -> Cmd[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Drop for Cmd[src]
impl From<Resp> for Cmd[src]
impl Debug for Cmd[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.