Enum hdrhistogram::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 moresource§impl Debug for AdditionError
impl Debug for AdditionError
source§impl Display for AdditionError
impl Display for AdditionError
source§impl Error for AdditionError
impl Error for AdditionError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for AdditionError
impl PartialEq for AdditionError
impl Copy for AdditionError
impl Eq for AdditionError
impl StructuralPartialEq for AdditionError
Auto Trait Implementations§
impl Freeze for AdditionError
impl RefUnwindSafe for AdditionError
impl Send for AdditionError
impl Sync for AdditionError
impl Unpin for AdditionError
impl UnwindSafe for AdditionError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)