diff options
author | Marcel Müller <neikos@neikos.email> | 2023-01-03 09:55:42 +0100 |
---|---|---|
committer | Marcel Müller <neikos@neikos.email> | 2023-01-04 08:38:40 +0100 |
commit | 8274b53f8d77ffe37119abdafefb5a3d7aeb0bb1 (patch) | |
tree | efabedda1b24498c7b0353f1f9874e0b9b631701 /mqtt-tester/src/command.rs | |
parent | de69f4eca1506117787586343641823ce9fac973 (diff) |
Allow unused enum variants
Signed-off-by: Marcel Müller <neikos@neikos.email>
Diffstat (limited to 'mqtt-tester/src/command.rs')
-rw-r--r-- | mqtt-tester/src/command.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mqtt-tester/src/command.rs b/mqtt-tester/src/command.rs index 38f1c23..7e12261 100644 --- a/mqtt-tester/src/command.rs +++ b/mqtt-tester/src/command.rs @@ -16,7 +16,9 @@ pub type CheckBytesFn = Box<dyn FnOnce(&[u8]) -> bool>; pub enum ClientCommand { Send(Vec<u8>), + #[allow(unused)] WaitFor(Vec<u8>), + #[allow(unused)] WaitAndCheck(CheckBytesFn), } |