pub enum ErrorMetric {
Errors,
Contexts,
SuppressedErrors,
SuppressedContexts,
}
Available on crate feature
default
only.Expand description
The error metrics from a tool which reports errors
The tools which report only errors are helgrind
, drd
and memcheck
. The order in which the
variants are defined in this enum determines the order of the metrics in the benchmark terminal
output.
Variants§
Errors
The amount of detected unsuppressed errors
Contexts
The amount of detected unsuppressed error contexts
SuppressedErrors
The amount of suppressed errors
SuppressedContexts
The amount of suppressed error contexts
Trait Implementations§
Source§impl Clone for ErrorMetric
impl Clone for ErrorMetric
Source§fn clone(&self) -> ErrorMetric
fn clone(&self) -> ErrorMetric
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ErrorMetric
impl Debug for ErrorMetric
Source§impl<'de> Deserialize<'de> for ErrorMetric
impl<'de> Deserialize<'de> for ErrorMetric
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ErrorMetric, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ErrorMetric, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ErrorMetric
impl Display for ErrorMetric
Source§impl Hash for ErrorMetric
impl Hash for ErrorMetric
Source§impl PartialEq for ErrorMetric
impl PartialEq for ErrorMetric
Source§impl Serialize for ErrorMetric
impl Serialize for ErrorMetric
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for ErrorMetric
impl Eq for ErrorMetric
impl StructuralPartialEq for ErrorMetric
Auto Trait Implementations§
impl Freeze for ErrorMetric
impl RefUnwindSafe for ErrorMetric
impl Send for ErrorMetric
impl Sync for ErrorMetric
impl Unpin for ErrorMetric
impl UnwindSafe for ErrorMetric
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more