The wire name, used in human output.
(self)
| 44 | impl FireOutcome { |
| 45 | /// The wire name, used in human output. |
| 46 | pub fn as_str(self) -> &'static str { |
| 47 | match self { |
| 48 | FireOutcome::Ok => "ok", |
| 49 | FireOutcome::Error => "error", |
| 50 | } |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | /// The most recent dispatch of one verb for one agent. |