Enum hdrsample::errors::AdditionError
source · pub enum AdditionError {
OtherAddendValueExceedsRange,
ResizeFailedUsizeTypeTooSmall,
}
Expand description
Errors that can occur when adding another histogram.
Variants§
OtherAddendValueExceedsRange
The other histogram includes values that do not fit in this histogram’s range. Only possible when auto resize is disabled.
ResizeFailedUsizeTypeTooSmall
The other histogram includes values that would map to indexes in this histogram that are
not expressible for usize
. Configure this histogram to use fewer significant digits. Only
possible when resize is enabled.
Trait Implementations§
source§impl Clone for AdditionError
impl Clone for AdditionError
source§fn clone(&self) -> AdditionError
fn clone(&self) -> AdditionError
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 more