Returns true if this code represents successful execution.
(self)
| 79 | impl ExitCode { |
| 80 | /// Returns true if this code represents successful execution. |
| 81 | pub fn is_success(self) -> bool { |
| 82 | self.0 == 0 |
| 83 | } |
| 84 | |
| 85 | /// Creates an `ExitCode` from an integer. |
| 86 | pub fn try_new(value: i32) -> Result<Self, InvalidExitCodeError> { |
no outgoing calls