aboutsummaryrefslogtreecommitdiff
path: root/src/proto.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/proto.rs')
-rw-r--r--src/proto.rs8
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),
+
+}