pub enum RespValue {
SimpleString(Bytes),
Error(String),
Integer(i64),
BulkString(Option<Bytes>),
Array(Option<Vec<RespValue>>),
}Variants§
SimpleString(Bytes)
Error(String)
Integer(i64)
BulkString(Option<Bytes>)
Array(Option<Vec<RespValue>>)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RespValue
impl RefUnwindSafe for RespValue
impl Send for RespValue
impl Sync for RespValue
impl Unpin for RespValue
impl UnsafeUnpin for RespValue
impl UnwindSafe for RespValue
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