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