Enum hdrsample::SubtractionError [] [src]

pub enum SubtractionError {
    SubtrahendValueExceedsMinuendRange,
    SubtrahendCountExceedsMinuendCount,
}

Errors that can occur when subtracting another histogram.

Variants

The other histogram includes values that do not fit in this histogram's range. Only possible when auto resize is disabled.

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]

[src]

Formats the value using the given formatter.

impl Eq for SubtractionError
[src]

impl PartialEq for SubtractionError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Clone for SubtractionError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for SubtractionError
[src]