pub enum DataSketchesError {
CreationError(String),
SerializationError(String),
DeserializationError(String),
InvalidParameter(String),
NullPointer,
Unknown(String),
}Expand description
Error type for DataSketches operations.
Variants§
CreationError(String)
An error occurred during sketch creation.
SerializationError(String)
An error occurred during serialization.
DeserializationError(String)
An error occurred during deserialization.
InvalidParameter(String)
An invalid parameter was provided.
NullPointer
A null pointer was encountered.
Unknown(String)
An unknown error occurred.
Trait Implementations§
Source§impl Clone for DataSketchesError
impl Clone for DataSketchesError
Source§impl Debug for DataSketchesError
impl Debug for DataSketchesError
Source§impl Display for DataSketchesError
impl Display for DataSketchesError
Source§impl Error for DataSketchesError
impl Error for DataSketchesError
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()
Auto Trait Implementations§
impl Freeze for DataSketchesError
impl RefUnwindSafe for DataSketchesError
impl Send for DataSketchesError
impl Sync for DataSketchesError
impl Unpin for DataSketchesError
impl UnsafeUnpin for DataSketchesError
impl UnwindSafe for DataSketchesError
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