feat! drop the RunResult::Error variant
It was never very clear how Failure and Error actually differ, and making the choice was thus unnecessarily difficult for an adapter implementation. Having just Failure is simpler.
We’ll re-introduce other variants if there are actual use cases and things aren’t vague.
Signed-off-by: Lars Wirzenius liw@liw.fi
3 files changed
+0
-37
68fd1877
→
601abc94
modified src/adapter.rs
@@ -247,28 +247,6 @@ echo '{"response":"finished","result":"failure"}'
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified src/bin/broker-messages.rs
@@ -41,10 +41,4 @@ fn main() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
modified src/msg.rs
@@ -84,9 +84,6 @@ pub enum RunResult {
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -94,7 +91,6 @@ impl fmt::Display for RunResult {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -555,11 +551,6 @@ impl Response {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|