pub enum SketchError {
InvalidParameter(&'static str),
IncompatibleSketches(&'static str),
}Expand description
Errors returned by sketch constructors and merge operations.
Variants§
InvalidParameter(&'static str)
Returned when a constructor receives an invalid argument.
IncompatibleSketches(&'static str)
Returned when combining two sketches that are not shape-compatible.
Trait Implementations§
Source§impl Clone for SketchError
impl Clone for SketchError
Source§fn clone(&self) -> SketchError
fn clone(&self) -> SketchError
Returns a duplicate 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 SketchError
impl Debug for SketchError
Source§impl Display for SketchError
impl Display for SketchError
Source§impl Error for SketchError
impl Error for SketchError
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 SketchError
impl PartialEq for SketchError
impl Eq for SketchError
impl StructuralPartialEq for SketchError
Auto Trait Implementations§
impl Freeze for SketchError
impl RefUnwindSafe for SketchError
impl Send for SketchError
impl Sync for SketchError
impl Unpin for SketchError
impl UnwindSafe for SketchError
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