devfire / redis

Ground up re-implementation of redis in Rust
0 stars 0 forks source link

Separate request processing #36

Closed devfire closed 4 months ago

devfire commented 4 months ago

We need to move request processing logic into its own actor/handler.

So, this

match request {
            Value::Null => todo!(),
            Value::NullArray => todo!(),
            Value::String(_) => todo!(),
            Value::Error(_) => todo!(),
            Value::Integer(_) => todo!(),
            Value::Bulk(_) => todo!(),
            Value::BufBulk(_) => todo!(),
            Value::Array(_) => {
...

has to be moved out of main.rs.