pub enum PlanCacheLookup {
Hit,
Miss,
Bypass(PlanCacheBypassReason),
}Variants§
Implementations§
Source§impl PlanCacheLookup
impl PlanCacheLookup
pub const fn as_str(self) -> &'static str
pub const fn bypass_reason(self) -> Option<PlanCacheBypassReason>
Trait Implementations§
Source§impl Clone for PlanCacheLookup
impl Clone for PlanCacheLookup
Source§fn clone(&self) -> PlanCacheLookup
fn clone(&self) -> PlanCacheLookup
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlanCacheLookup
Source§impl Debug for PlanCacheLookup
impl Debug for PlanCacheLookup
impl Eq for PlanCacheLookup
Source§impl PartialEq for PlanCacheLookup
impl PartialEq for PlanCacheLookup
impl StructuralPartialEq for PlanCacheLookup
Auto Trait Implementations§
impl Forget for PlanCacheLookup
impl Freeze for PlanCacheLookup
impl Move for PlanCacheLookup
impl RefUnwindSafe for PlanCacheLookup
impl Send for PlanCacheLookup
impl Sync for PlanCacheLookup
impl Unpin for PlanCacheLookup
impl UnsafeUnpin for PlanCacheLookup
impl UnwindSafe for PlanCacheLookup
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