pub struct MessageMut {
pub rtype: RespType,
pub data: BytesMut,
}Fields§
§rtype: RespType§data: BytesMutImplementations§
Source§impl MessageMut
impl MessageMut
Trait Implementations§
Source§impl Clone for MessageMut
impl Clone for MessageMut
Source§fn clone(&self) -> MessageMut
fn clone(&self) -> MessageMut
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageMut
impl Debug for MessageMut
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 From<MessageMut> for Message
impl From<MessageMut> for Message
Source§fn from(_: MessageMut) -> Message
fn from(_: MessageMut) -> Message
Converts to this type from the input type.
Source§impl PartialEq for MessageMut
impl PartialEq for MessageMut
impl Eq for MessageMut
impl StructuralPartialEq for MessageMut
Auto Trait Implementations§
impl !Freeze for MessageMut
impl RefUnwindSafe for MessageMut
impl Send for MessageMut
impl Sync for MessageMut
impl Unpin for MessageMut
impl UnwindSafe for MessageMut
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.