fix: make enums non-exhaustive, add an error result
modified src/bin/ci-broker.rs
@@ -44,9 +44,10 @@ fn main() -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/msg.rs
@@ -43,6 +43,7 @@ impl fmt::Display for RunId {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -51,6 +52,10 @@ pub enum RunResult {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -58,6 +63,7 @@ impl fmt::Display for RunResult {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -65,6 +71,7 @@ impl fmt::Display for RunResult {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -109,7 +116,7 @@ pub enum Response {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -125,6 +132,11 @@ impl Response {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|