Struct erg_common::traits::ExitStatus
source · pub struct ExitStatus {
pub code: i32,
pub num_warns: usize,
pub num_errors: usize,
}
Fields§
§code: i32
§num_warns: usize
§num_errors: usize
Implementations§
source§impl ExitStatus
impl ExitStatus
Trait Implementations§
source§impl Clone for ExitStatus
impl Clone for ExitStatus
source§fn clone(&self) -> ExitStatus
fn clone(&self) -> ExitStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExitStatus
impl Debug for ExitStatus
source§impl Hash for ExitStatus
impl Hash for ExitStatus
source§impl PartialEq<ExitStatus> for ExitStatus
impl PartialEq<ExitStatus> for ExitStatus
source§fn eq(&self, other: &ExitStatus) -> bool
fn eq(&self, other: &ExitStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.