From f24a4f72dff65b8b0a258497f3019bbae269e373 Mon Sep 17 00:00:00 2001 From: Mitchell Date: Sun, 16 Aug 2020 17:15:23 +0100 Subject: [PATCH] functionality for individual commands --- src/commands/behaviors.rs | 73 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 src/commands/behaviors.rs diff --git a/src/commands/behaviors.rs b/src/commands/behaviors.rs new file mode 100644 index 0000000..8938041 --- /dev/null +++ b/src/commands/behaviors.rs @@ -0,0 +1,73 @@ +struct Request {} + +struct Info {} + +struct Connect {} + +struct Disconnect {} + +struct ClientUpdate {} + +struct ClientInfo {} + +struct ClientRemove {} + +struct Client {} + +struct Success {} + +struct Error {} + +trait Runnables { + fn run(&self); +} + +impl Runnables for Request { + fn run() { + } +} + +impl Runnables for Request { + fn run() { + } +} + +impl Runnables for Request { + fn run() { + } +} + +impl Runnables for Request { + fn run() { + } +} + +impl Runnables for Request { + fn run() { + } +} + +impl Runnables for Request { + fn run() { + } +} + +impl Runnables for Request { + fn run() { + } +} + +impl Runnables for Request { + fn run() { + } +} + +impl Runnables for Request { + fn run() { + } +} + +impl Runnables for Request { + fn run() { + } +}