mirror of
https://github.com/guilhermewerner/mini-redis
synced 2025-06-16 15:05:39 +00:00
Initial Implementation on Connections and Frames
This commit is contained in:
10
Source/Core/Frame.rs
Normal file
10
Source/Core/Frame.rs
Normal file
@ -0,0 +1,10 @@
|
||||
use bytes::Bytes;
|
||||
|
||||
enum Frame {
|
||||
Simple(String),
|
||||
Error(String),
|
||||
Integer(u64),
|
||||
Bulk(Bytes),
|
||||
Null,
|
||||
Array(Vec<Frame>),
|
||||
}
|
Reference in New Issue
Block a user