pub enum PrepareForCache {
Yes,
No,
}
Available on crate feature
i-implement-a-third-party-backend-and-opt-into-breaking-changes
only.Expand description
A helper type that indicates if a certain query is cached inside of the prepared statement cache or not
This information can be used by the connection implementation to signal this fact to the database while actually preparing the statement
Variants§
Trait Implementations§
Source§impl Clone for PrepareForCache
impl Clone for PrepareForCache
Source§fn clone(&self) -> PrepareForCache
fn clone(&self) -> PrepareForCache
Returns a copy 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 PrepareForCache
impl Debug for PrepareForCache
impl Copy for PrepareForCache
Auto Trait Implementations§
impl Freeze for PrepareForCache
impl RefUnwindSafe for PrepareForCache
impl Send for PrepareForCache
impl Sync for PrepareForCache
impl Unpin for PrepareForCache
impl UnwindSafe for PrepareForCache
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