kvsd 0.1.3

Simple key value store
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::fmt;

use crate::protocol::Key;

pub struct Get {
    pub namespace: String,
    pub table: String,
    pub key: Key,
}

impl fmt::Display for Get {
    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        write!(f, "Get {}/{} {}", self.namespace, self.table, self.key,)
    }
}