pub struct Cmd { /* private fields */ }Implementations§
Source§impl Cmd
impl Cmd
pub fn cluster_mark_total(&self, cluster: &str)
pub fn cluster_mark_remote(&self, cluster: &str)
pub fn incr_notify(&self, count: u16)
pub fn borrow(&self) -> Ref<'_, Command>
pub fn borrow_mut(&self) -> RefMut<'_, Command>
pub fn unset_error(&self)
pub fn unset_done(&self)
pub fn set_reply<T: IntoReply<Message>>(&self, reply: T)
pub fn set_error<T: IntoReply<Message>>(&self, reply: T)
pub fn reregister(&mut self, task: Task)
pub fn check_valid(&self) -> bool
Trait Implementations§
Source§impl From<MessageMut> for Cmd
impl From<MessageMut> for Cmd
Source§fn from(msg_mut: MessageMut) -> Cmd
fn from(msg_mut: MessageMut) -> Cmd
Converts to this type from the input type.
Source§impl Request for Cmd
impl Request for Cmd
type Reply = Message
type FrontCodec = RedisHandleCodec
type BackCodec = RedisNodeCodec
fn ping_request() -> Self
fn reregister(&mut self, task: Task)
fn key_hash(&self, hash_tag: &[u8], hasher: fn(_: &[u8]) -> u64) -> u64
fn subs(&self) -> Option<Vec<Self>>
fn is_done(&self) -> bool
fn is_error(&self) -> bool
fn add_cycle(&self)
fn can_cycle(&self) -> bool
fn valid(&self) -> bool
fn set_reply<R: IntoReply<Message>>(&self, t: R)
fn set_error(&self, t: &AsError)
fn mark_total(&self, cluster: &str)
fn mark_remote(&self, cluster: &str)
fn get_sendtime(&self) -> Option<Instant>
Auto Trait Implementations§
impl Freeze for Cmd
impl !RefUnwindSafe for Cmd
impl !Send for Cmd
impl !Sync for Cmd
impl Unpin for Cmd
impl !UnwindSafe for Cmd
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more