[−][src]Struct libaster::protocol::redis::resp::Message
Fields
rtype: RespTypedata: BytesImplementations
impl Message[src]
pub fn new_cluster_slots() -> Message[src]
pub fn new_read_only() -> Message[src]
pub fn new_ping_request() -> Message[src]
pub fn inline_raw(data: Bytes) -> Message[src]
pub fn plain<I: Into<Bytes>>(data: I, resp_type: u8) -> Message[src]
pub fn save(&self, buf: &mut BytesMut) -> usize[src]
pub fn save_by_rtype(&self, rtype: &RespType, buf: &mut BytesMut) -> usize[src]
pub fn raw_data(&self) -> &[u8][src]
pub fn data(&self) -> Option<&[u8]>[src]
pub fn nth(&self, index: usize) -> Option<&[u8]>[src]
pub fn iter(&self) -> MessageIter[src]
pub fn check_redirect(&self) -> Option<Redirect>[src]
Trait Implementations
impl Clone for Message[src]
impl Debug for Message[src]
impl Eq for Message[src]
impl From<AsError> for Message[src]
impl From<MessageMut> for Message[src]
fn from(MessageMut { rtype: rtype, data: data }: MessageMut) -> Message[src]
impl IntoReply<Message> for AsError[src]
fn into_reply(self) -> Message[src]
impl<'a> IntoReply<Message> for &'a AsError[src]
fn into_reply(self) -> Message[src]
impl<'a> IntoReply<Message> for &'a str[src]
fn into_reply(self) -> Message[src]
impl<'a> IntoReply<Message> for &'a [u8][src]
fn into_reply(self) -> Message[src]
impl<'a> IntoReply<Message> for &'a usize[src]
fn into_reply(self) -> Message[src]
impl IntoReply<Message> for usize[src]
fn into_reply(self) -> Message[src]
impl PartialEq<Message> for Message[src]
impl StructuralEq for Message[src]
impl StructuralPartialEq for Message[src]
Auto Trait Implementations
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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,
fn borrow_mut(&mut self) -> &mut T[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool[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]
fn into_reply(Self) -> T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
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.
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.
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>,