diff options
author | Alex Auvolat <alex@adnab.me> | 2020-04-05 23:33:42 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-04-05 23:33:42 +0200 |
commit | 7102db1d544bec663a8492b24c455168d0b83f08 (patch) | |
tree | cc308cbeefc3f48b55149e85ec737867c24a498e /src/proto.rs | |
download | garage-7102db1d544bec663a8492b24c455168d0b83f08.tar.gz garage-7102db1d544bec663a8492b24c455168d0b83f08.zip |
First commit: skeleton for something great
Diffstat (limited to 'src/proto.rs')
-rw-r--r-- | src/proto.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/proto.rs b/src/proto.rs new file mode 100644 index 00000000..029a58df --- /dev/null +++ b/src/proto.rs @@ -0,0 +1,8 @@ +use serde::{Serialize, Deserialize}; + +#[derive(Debug, Serialize, Deserialize)] +pub enum Message { + Ok, + Error(String), + +} |