Enum RecordError

enum RecordError

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.

Implementations

impl Clone for RecordError

fn clone(self: &Self) -> RecordError

impl Copy for RecordError

impl Debug for RecordError

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Display for RecordError

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Eq for RecordError

impl Error for RecordError

impl Freeze for RecordError

impl PartialEq for RecordError

fn eq(self: &Self, other: &RecordError) -> bool

impl RefUnwindSafe for RecordError

impl Send for RecordError

impl StructuralPartialEq for RecordError

impl Sync for RecordError

impl Unpin for RecordError

impl UnsafeUnpin for RecordError

impl UnwindSafe for RecordError

impl<T> Any for RecordError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for RecordError

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for RecordError

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for RecordError

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for RecordError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for RecordError

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> ToString for RecordError

fn to_string(self: &Self) -> String

impl<T, U> Into for RecordError

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for RecordError

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for RecordError

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>