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
sourceimpl Clone for AdditionError
impl Clone for AdditionError
sourcefn clone(&self) -> AdditionError
fn clone(&self) -> AdditionError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AdditionError
impl Debug for AdditionError
sourceimpl Display for AdditionError
impl Display for AdditionError
sourceimpl Error for AdditionError
impl Error for AdditionError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl PartialEq<AdditionError> for AdditionError
impl PartialEq<AdditionError> for AdditionError
sourcefn eq(&self, other: &AdditionError) -> bool
fn eq(&self, other: &AdditionError) -> bool
impl Copy for AdditionError
impl Eq for AdditionError
impl StructuralEq for AdditionError
impl StructuralPartialEq for AdditionError
Auto Trait Implementations
impl RefUnwindSafe for AdditionError
impl Send for AdditionError
impl Sync for AdditionError
impl Unpin for AdditionError
impl UnwindSafe for AdditionError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more