pub enum PlanningStrategy {
AlwaysNew,
CacheFirst,
SerializedFirst,
AutoTuned,
}
Expand description
Enum for different planning strategies
Variants§
AlwaysNew
Always create a new plan
CacheFirst
Try cache first, create new plan if not found
SerializedFirst
Try serialized plans first, then cache, then create new
AutoTuned
Auto-tune to find the best plan for the current hardware
Trait Implementations§
Source§impl Clone for PlanningStrategy
impl Clone for PlanningStrategy
Source§fn clone(&self) -> PlanningStrategy
fn clone(&self) -> PlanningStrategy
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 PlanningStrategy
impl Debug for PlanningStrategy
Source§impl Default for PlanningStrategy
impl Default for PlanningStrategy
Source§fn default() -> PlanningStrategy
fn default() -> PlanningStrategy
Returns the “default value” for a type. Read more
Source§impl Hash for PlanningStrategy
impl Hash for PlanningStrategy
Source§impl PartialEq for PlanningStrategy
impl PartialEq for PlanningStrategy
impl Copy for PlanningStrategy
impl Eq for PlanningStrategy
impl StructuralPartialEq for PlanningStrategy
Auto Trait Implementations§
impl Freeze for PlanningStrategy
impl RefUnwindSafe for PlanningStrategy
impl Send for PlanningStrategy
impl Sync for PlanningStrategy
impl Unpin for PlanningStrategy
impl UnwindSafe for PlanningStrategy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more