pub enum CandidateSearchError {
InvalidMargin,
ConflictingBounds(ObjectId),
}Expand description
Why a candidate search could not run.
Variants§
InvalidMargin
The search margin is negative or non-finite.
ConflictingBounds(ObjectId)
One object was supplied twice with different extents.
Trait Implementations§
Source§impl Clone for CandidateSearchError
impl Clone for CandidateSearchError
Source§impl Debug for CandidateSearchError
impl Debug for CandidateSearchError
Source§impl Display for CandidateSearchError
impl Display for CandidateSearchError
impl Eq for CandidateSearchError
Source§impl Error for CandidateSearchError
impl Error for CandidateSearchError
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 CandidateSearchError
impl PartialEq for CandidateSearchError
impl StructuralPartialEq for CandidateSearchError
Auto Trait Implementations§
impl Freeze for CandidateSearchError
impl RefUnwindSafe for CandidateSearchError
impl Send for CandidateSearchError
impl Sync for CandidateSearchError
impl Unpin for CandidateSearchError
impl UnsafeUnpin for CandidateSearchError
impl UnwindSafe for CandidateSearchError
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