#[non_exhaustive]pub enum ResetCachedState {
Keep,
Reset,
}Expand description
Whether MySQL has just reset the data-dictionary entry and any cached engine-private metadata should be re-emitted from scratch
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Keep
Reuse whatever the engine has cached
Reset
Discard cached state and re-emit from authoritative source
Trait Implementations§
Source§impl Clone for ResetCachedState
impl Clone for ResetCachedState
Source§fn clone(&self) -> ResetCachedState
fn clone(&self) -> ResetCachedState
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 ResetCachedState
Source§impl Debug for ResetCachedState
impl Debug for ResetCachedState
impl Eq for ResetCachedState
Source§impl From<bool> for ResetCachedState
impl From<bool> for ResetCachedState
Source§impl PartialEq for ResetCachedState
impl PartialEq for ResetCachedState
Source§fn eq(&self, other: &ResetCachedState) -> bool
fn eq(&self, other: &ResetCachedState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResetCachedState
Auto Trait Implementations§
impl Freeze for ResetCachedState
impl RefUnwindSafe for ResetCachedState
impl Send for ResetCachedState
impl Sync for ResetCachedState
impl Unpin for ResetCachedState
impl UnsafeUnpin for ResetCachedState
impl UnwindSafe for ResetCachedState
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