Enum hdrsample::SubtractionError
[−]
[src]
pub enum SubtractionError { SubtrahendValueExceedsMinuendRange, SubtrahendCountExceedsMinuendCount, }
Errors that can occur when subtracting another histogram.
Variants
SubtrahendValueExceedsMinuendRange
The other histogram includes values that do not fit in this histogram's range. Only possible when auto resize is disabled.
SubtrahendCountExceedsMinuendCount
The other histogram includes counts that are higher than the current count for a value, and counts cannot go negative. The subtraction may have been partially applied to some counts as this error is returned when the first impossible subtraction is detected.
Trait Implementations
impl Debug for SubtractionError
[src]
impl Eq for SubtractionError
[src]
impl PartialEq for SubtractionError
[src]
fn eq(&self, __arg_0: &SubtractionError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Clone for SubtractionError
[src]
fn clone(&self) -> SubtractionError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more