Enum AdditionError

enum AdditionError

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.

Implementations

impl Clone for AdditionError

fn clone(self: &Self) -> AdditionError

impl Copy for AdditionError

impl Debug for AdditionError

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

impl Display for AdditionError

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

impl Eq for AdditionError

impl Error for AdditionError

impl Freeze for AdditionError

impl PartialEq for AdditionError

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

impl RefUnwindSafe for AdditionError

impl Send for AdditionError

impl StructuralPartialEq for AdditionError

impl Sync for AdditionError

impl Unpin for AdditionError

impl UnsafeUnpin for AdditionError

impl UnwindSafe for AdditionError

impl<T> Any for AdditionError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for AdditionError

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

impl<T> BorrowMut for AdditionError

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

impl<T> CloneToUninit for AdditionError

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

impl<T> From for AdditionError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for AdditionError

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

impl<T> ToString for AdditionError

fn to_string(self: &Self) -> String

impl<T, U> Into for AdditionError

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 AdditionError

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

impl<T, U> TryInto for AdditionError

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