pub enum ClusteringError {
EmptyInput,
InvalidConfig(String),
StateError(String),
}Expand description
Errors during clustering operations.
Variants§
EmptyInput
No hits provided for clustering.
InvalidConfig(String)
Invalid clustering configuration.
StateError(String)
Internal state error while clustering.
Trait Implementations§
Source§impl Debug for ClusteringError
impl Debug for ClusteringError
Source§impl Display for ClusteringError
impl Display for ClusteringError
Source§impl Error for ClusteringError
impl Error for ClusteringError
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 From<ClusteringError> for Error
impl From<ClusteringError> for Error
Source§fn from(source: ClusteringError) -> Self
fn from(source: ClusteringError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ClusteringError
impl RefUnwindSafe for ClusteringError
impl Send for ClusteringError
impl Sync for ClusteringError
impl Unpin for ClusteringError
impl UnwindSafe for ClusteringError
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