pub enum LookupError {
TooManyRows,
TooManyPages,
TooManyMembershipReads,
}Expand description
A bounded lookup that could not prove membership or absence for one id. Every variant fails closed for that id only; retryability differs.
Variants§
TooManyRows
At least MAX_LOOKUP_ROWS rows for this object, with more
remaining, and none of those read belongs to a member pack. Not
retryable: it persists while the object has that many index rows in
this repository. Rows of packs that never became members are removed by
§13 GC (WP-5.3a); rows of member packs are not.
TooManyPages
The call used all MAX_LOOKUP_PAGES scan pages before this id’s
scan finished. Retryable in a call with fewer ids.
TooManyMembershipReads
The call’s membership-read budget ran out before a member was found in
this id’s candidates. Retryable in a call with fewer ids, unless the
id’s own candidates span more than MAX_LOOKUP_MEMBERSHIP_READS
membership partitions before its first member.
Trait Implementations§
Source§impl Clone for LookupError
impl Clone for LookupError
impl Copy for LookupError
Source§impl Debug for LookupError
impl Debug for LookupError
Source§impl Display for LookupError
impl Display for LookupError
impl Eq for LookupError
Source§impl Error for LookupError
impl Error for LookupError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()