#[non_exhaustive]pub enum MaterializationError<Error> {
RequestExceedsLimit {
field: &'static str,
requested: usize,
limit: usize,
},
DuplicateCandidate {
first_index: usize,
duplicate_index: usize,
},
NonMonotonicOrder {
previous_index: usize,
index: usize,
},
InvalidDropTaxonomy {
message: &'static str,
},
UnexpectedLoaderKey,
DuplicateLoaderKey,
LoaderReturnedTooManyRows {
returned: usize,
requested: usize,
},
Caller(Error),
}Expand description
Structural or caller failure from ranked-prefix materialization.
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.
RequestExceedsLimit
One request dimension exceeds its consumer-specific limit.
Fields
DuplicateCandidate
A candidate key occurs more than once.
NonMonotonicOrder
Caller-provided order keys are not strictly increasing.
InvalidDropTaxonomy
The caller’s drop taxonomy is not a complete ordinal sequence.
UnexpectedLoaderKey
A loader returned a key outside its requested batch.
DuplicateLoaderKey
A loader returned one key more than once.
LoaderReturnedTooManyRows
A loader returned more rows than the requested batch could contain.
Fields
Caller(Error)
Candidate validation, loading, or classification failed.
Trait Implementations§
Source§impl<Error: Debug> Debug for MaterializationError<Error>
impl<Error: Debug> Debug for MaterializationError<Error>
Source§impl<Error> Display for MaterializationError<Error>
impl<Error> Display for MaterializationError<Error>
impl<Error: Eq> Eq for MaterializationError<Error>
Source§impl<Error> Error for MaterializationError<Error>
impl<Error> Error for MaterializationError<Error>
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<Error: PartialEq> PartialEq for MaterializationError<Error>
impl<Error: PartialEq> PartialEq for MaterializationError<Error>
impl<Error: PartialEq> StructuralPartialEq for MaterializationError<Error>
Auto Trait Implementations§
impl<Error> Freeze for MaterializationError<Error>where
Error: Freeze,
impl<Error> RefUnwindSafe for MaterializationError<Error>where
Error: RefUnwindSafe,
impl<Error> Send for MaterializationError<Error>where
Error: Send,
impl<Error> Sync for MaterializationError<Error>where
Error: Sync,
impl<Error> Unpin for MaterializationError<Error>where
Error: Unpin,
impl<Error> UnsafeUnpin for MaterializationError<Error>where
Error: UnsafeUnpin,
impl<Error> UnwindSafe for MaterializationError<Error>where
Error: UnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.