Enum hdrsample::errors::RecordError [] [src]

pub enum RecordError {
    ValueOutOfRangeResizeDisabled,
    ResizeFailedUsizeTypeTooSmall,
}

Errors that can occur while recording a value and its associated count.

Variants

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.

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]

[src]

Formats the value using the given formatter.

impl Eq for RecordError
[src]

impl PartialEq for RecordError
[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 RecordError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for RecordError
[src]