Enum reductive::error::ReductiveError [−][src]
#[non_exhaustive]
pub enum ReductiveError {
IncorrectNAttempts,
IncorrectNIterations,
IncorrectNSubquantizerBits {
max_subquantizer_bits: u32,
},
IncorrectNumberSubquantizers {
n_subquantizers: usize,
n_columns: usize,
},
NSubquantizersOutsideRange {
n_subquantizers: usize,
max_subquantizers: usize,
},
ConstructRng(Error),
}
Expand description
Reductive error type.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
IncorrectNAttempts
IncorrectNIterations
IncorrectNSubquantizerBits
Fields
max_subquantizer_bits: u32
IncorrectNumberSubquantizers
NSubquantizersOutsideRange
ConstructRng(Error)
Tuple Fields
0: Error