pub enum RedisFrame {
SimpleString(String),
Error(String),
Integer(i64),
BulkString(Option<Bytes>),
Array(Option<Vec<RedisFrame>>),
}Variants§
SimpleString(String)
Error(String)
Integer(i64)
BulkString(Option<Bytes>)
Array(Option<Vec<RedisFrame>>)
Trait Implementations§
Source§impl Clone for RedisFrame
impl Clone for RedisFrame
Source§fn clone(&self) -> RedisFrame
fn clone(&self) -> RedisFrame
Returns a duplicate 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 RedisFrame
impl Debug for RedisFrame
Source§impl Encoder<RedisFrame> for RedisCodec
impl Encoder<RedisFrame> for RedisCodec
Source§impl PartialEq for RedisFrame
impl PartialEq for RedisFrame
impl StructuralPartialEq for RedisFrame
Auto Trait Implementations§
impl !Freeze for RedisFrame
impl RefUnwindSafe for RedisFrame
impl Send for RedisFrame
impl Sync for RedisFrame
impl Unpin for RedisFrame
impl UnsafeUnpin for RedisFrame
impl UnwindSafe for RedisFrame
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