[−][src]Struct libaster::protocol::redis::Command
Fields
reply: Option<Message>Implementations
impl Command[src]
pub fn into_cmd(self, notify: Notify) -> Cmd[src]
pub fn parse_cmd(buf: &mut BytesMut) -> Result<Option<Cmd>, AsError>[src]
pub fn reply_cmd(&self, buf: &mut BytesMut) -> Result<usize, AsError>[src]
impl Command[src]
pub fn send_req(&self, buf: &mut BytesMut) -> Result<(), AsError>[src]
save redis Command into given BytesMut
impl Command[src]
pub fn key_hash<T>(&self, hash_tag: &[u8], method: T) -> u64 where
T: Fn(&[u8]) -> u64, [src]
T: Fn(&[u8]) -> u64,
pub fn subs(&self) -> Option<Vec<Cmd>>[src]
pub fn is_done(&self) -> bool[src]
pub fn cycle(&self) -> u8[src]
pub fn can_cycle(&self) -> bool[src]
pub fn add_cycle(&mut self)[src]
pub fn is_ask(&self) -> bool[src]
pub fn unset_ask(&mut self)[src]
pub fn set_ask(&mut self)[src]
pub fn is_moved(&mut self) -> bool[src]
pub fn set_moved(&mut self)[src]
pub fn unset_moved(&mut self)[src]
pub fn is_error(&self) -> bool[src]
pub fn is_read(&self) -> bool[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Command[src]
impl !Send for Command[src]
impl !Sync for Command[src]
impl Unpin for Command[src]
impl !UnwindSafe for Command[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> IntoReply<T> for T[src]
pub fn into_reply(Self) -> T[src]
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,