pub enum SealedSegmentError {
Geometry(&'static str),
Postings(PostingsError),
}Expand description
A rejected whole-segment lexical region.
Variants§
Geometry(&'static str)
Container geometry or a cross-field invariant was invalid.
Postings(PostingsError)
One embedded posting list was invalid.
Trait Implementations§
Source§impl Clone for SealedSegmentError
impl Clone for SealedSegmentError
impl Copy for SealedSegmentError
Source§impl Debug for SealedSegmentError
impl Debug for SealedSegmentError
Source§impl Display for SealedSegmentError
impl Display for SealedSegmentError
impl Eq for SealedSegmentError
Source§impl Error for SealedSegmentError
impl Error for SealedSegmentError
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 From<PostingsError> for SealedSegmentError
impl From<PostingsError> for SealedSegmentError
Source§fn from(error: PostingsError) -> Self
fn from(error: PostingsError) -> Self
Converts to this type from the input type.
Source§impl From<SealedSegmentError> for SegmentError
impl From<SealedSegmentError> for SegmentError
Source§fn from(error: SealedSegmentError) -> Self
fn from(error: SealedSegmentError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SealedSegmentError
impl PartialEq for SealedSegmentError
impl StructuralPartialEq for SealedSegmentError
Auto Trait Implementations§
impl Freeze for SealedSegmentError
impl RefUnwindSafe for SealedSegmentError
impl Send for SealedSegmentError
impl Sync for SealedSegmentError
impl Unpin for SealedSegmentError
impl UnsafeUnpin for SealedSegmentError
impl UnwindSafe for SealedSegmentError
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