(&self)
| 40 | |
| 41 | impl ToString for StatusResult { |
| 42 | fn to_string(&self) -> String { |
| 43 | match self { |
| 44 | StatusResult::LogErr(e) => e.to_string(), |
| 45 | StatusResult::IoError(e) => e.to_string(), |
| 46 | StatusResult::End => "End".to_string(), |
| 47 | StatusResult::ReporterIsOff => "ReporterIsOff".to_string(), |
| 48 | StatusResult::Err(e) => e.to_string(), |
| 49 | StatusResult::Duplicate => "Duplicate".to_string(), |
| 50 | } |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | #[derive(Debug)] |
no outgoing calls