pub enum AlignmentError {
ZeroLength(String),
QueryTooLong(String),
}
Expand description
Error type, for alignment errors.
Variants§
ZeroLength(String)
Both strings should have at least 1 character.
QueryTooLong(String)
query.len() needs to be <= to text.len()
Trait Implementations§
Source§impl Debug for AlignmentError
impl Debug for AlignmentError
Source§impl PartialEq for AlignmentError
impl PartialEq for AlignmentError
impl Eq for AlignmentError
impl StructuralPartialEq for AlignmentError
Auto Trait Implementations§
impl Freeze for AlignmentError
impl RefUnwindSafe for AlignmentError
impl Send for AlignmentError
impl Sync for AlignmentError
impl Unpin for AlignmentError
impl UnwindSafe for AlignmentError
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