Enum hdrsample::errors::RecordError
[−]
[src]
pub enum RecordError { ValueOutOfRangeResizeDisabled, ResizeFailedUsizeTypeTooSmall, }
Errors that can occur while recording a value and its associated count.
Variants
ValueOutOfRangeResizeDisabled
The value to record is not representable in this histogram and resizing is disabled. Configure a higher maximum value or enable resizing. Only possible when resizing is disabled.
ResizeFailedUsizeTypeTooSmall
Auto resizing is enabled and must be used to represent the provided value, but the histogram
cannot be resized because usize
cannot represent sufficient length. Configure this
histogram to use fewer significant digits. Only possible when resizing is enabled.
Trait Implementations
impl Debug for RecordError
[src]
impl Eq for RecordError
[src]
impl PartialEq for RecordError
[src]
fn eq(&self, __arg_0: &RecordError) -> 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 RecordError
[src]
fn clone(&self) -> RecordError
[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