Fields
reply: Option<Message>Implementations
sourceimpl Command
impl Command
pub fn key_hash<T>(&self, hash_tag: &[u8], method: T) -> u64where
T: Fn(&[u8]) -> u64,
pub fn subs(&self) -> Option<Vec<Cmd>>
pub fn set_subs(&mut self, subs: Option<Vec<Cmd>>)
pub fn is_done(&self) -> bool
pub fn cycle(&self) -> u8
pub fn can_cycle(&self) -> bool
pub fn add_cycle(&mut self)
pub fn is_ask(&self) -> bool
pub fn unset_ask(&mut self)
pub fn set_ask(&mut self)
pub fn is_moved(&mut self) -> bool
pub fn set_moved(&mut self)
pub fn unset_moved(&mut self)
pub fn is_error(&self) -> bool
pub fn is_read(&self) -> bool
pub fn is_read_all(&self) -> bool
pub fn is_count_all(&self) -> bool
pub fn is_scan(&self) -> bool
pub fn is_info_keyspace(&self) -> bool
pub fn flags(&self) -> CmdFlags
pub fn ctype(&self) -> CmdType
pub fn req(&self) -> &Message
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Command
impl !Send for Command
impl !Sync for Command
impl Unpin for Command
impl !UnwindSafe for Command
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more