pub enum StaleOption {
False,
Ok,
UpdateAfter,
}Expand description
Controls whether the index is rebuilt before querying.
Variants§
False
Always rebuild the index before querying (default).
Ok
Use the index as-is, do not rebuild.
UpdateAfter
Use the index as-is, then rebuild in the background.
Trait Implementations§
Source§impl Clone for StaleOption
impl Clone for StaleOption
Source§fn clone(&self) -> StaleOption
fn clone(&self) -> StaleOption
Returns a duplicate of the value. Read more
1.0.0 · 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 StaleOption
impl Debug for StaleOption
Source§impl Default for StaleOption
impl Default for StaleOption
Source§fn default() -> StaleOption
fn default() -> StaleOption
Returns the “default value” for a type. Read more
Source§impl PartialEq for StaleOption
impl PartialEq for StaleOption
impl Eq for StaleOption
impl StructuralPartialEq for StaleOption
Auto Trait Implementations§
impl Freeze for StaleOption
impl RefUnwindSafe for StaleOption
impl Send for StaleOption
impl Sync for StaleOption
impl Unpin for StaleOption
impl UnwindSafe for StaleOption
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