pub enum ScopeInputError {
LengthMismatch,
TooManyDocuments,
AddressMismatch {
index: usize,
},
DuplicateAddress {
index: usize,
},
InvalidSource {
index: usize,
},
UnknownGraphAddress,
}Expand description
Invalid association between a logical loading report and supplied content.
Variants§
LengthMismatch
Graph records and content have different lengths.
TooManyDocuments
More documents than the supported collection-query ceiling.
AddressMismatch
The supplied content address is absent or does not match its graph slot.
DuplicateAddress
Two slots claim the same logical document.
InvalidSource
A source has invalid depth, root indices, or a non-BFS order.
UnknownGraphAddress
An edge, provenance or coverage record names a document outside the set.
Trait Implementations§
Source§impl Clone for ScopeInputError
impl Clone for ScopeInputError
Source§fn clone(&self) -> ScopeInputError
fn clone(&self) -> ScopeInputError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScopeInputError
impl Debug for ScopeInputError
Source§impl Display for ScopeInputError
impl Display for ScopeInputError
impl Eq for ScopeInputError
Source§impl Error for ScopeInputError
impl Error for ScopeInputError
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 PartialEq for ScopeInputError
impl PartialEq for ScopeInputError
impl StructuralPartialEq for ScopeInputError
Auto Trait Implementations§
impl Freeze for ScopeInputError
impl RefUnwindSafe for ScopeInputError
impl Send for ScopeInputError
impl Sync for ScopeInputError
impl Unpin for ScopeInputError
impl UnsafeUnpin for ScopeInputError
impl UnwindSafe for ScopeInputError
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