Enum sketches_ddsketch::DDSketchError
source · pub enum DDSketchError {
Quantile,
Merge,
}
Expand description
General error type for DDSketch, represents either an invalid quantile or an incompatible merge operation.
Variants§
Trait Implementations§
source§impl Clone for DDSketchError
impl Clone for DDSketchError
source§fn clone(&self) -> DDSketchError
fn clone(&self) -> DDSketchError
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 DDSketchError
impl Debug for DDSketchError
source§impl Display for DDSketchError
impl Display for DDSketchError
source§impl Error for DDSketchError
impl Error for DDSketchError
source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for DDSketchError
impl RefUnwindSafe for DDSketchError
impl Send for DDSketchError
impl Sync for DDSketchError
impl Unpin for DDSketchError
impl UnwindSafe for DDSketchError
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