pub enum PaCMAPError {
Show 13 variants
DatasetTooSmall {
n: usize,
},
DimensionMismatch {
len: usize,
d: usize,
},
DatasetTooLarge {
n: usize,
},
PairCountOverflow {
n: usize,
k: usize,
},
InsufficientMemory {
required_bytes: usize,
available_bytes: usize,
},
MethodNotImplemented {
method: String,
},
KnnIndex(String),
KnnGraphSizeMismatch {
graph_n: usize,
neighbors_len: usize,
data_n: usize,
},
KnnGraphInsufficientK {
graph_k: usize,
required_k: usize,
},
KnnGraphMetricMismatch {
graph: DistanceMetric,
config: DistanceMetric,
},
Pca(String),
Gpu(String),
Cancelled,
}Variants§
DatasetTooSmall
DimensionMismatch
DatasetTooLarge
PairCountOverflow
InsufficientMemory
MethodNotImplemented
KnnIndex(String)
KnnGraphSizeMismatch
KnnGraphInsufficientK
KnnGraphMetricMismatch
Pca(String)
Gpu(String)
Cancelled
Trait Implementations§
Source§impl Debug for PaCMAPError
impl Debug for PaCMAPError
Source§impl Display for PaCMAPError
impl Display for PaCMAPError
Source§impl Error for PaCMAPError
impl Error for PaCMAPError
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 PaCMAPError
impl RefUnwindSafe for PaCMAPError
impl Send for PaCMAPError
impl Sync for PaCMAPError
impl Unpin for PaCMAPError
impl UnsafeUnpin for PaCMAPError
impl UnwindSafe for PaCMAPError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more