pub enum IndexAlgorithm {
Default,
Inplace,
Instant,
Copy,
}Expand description
The online-DDL ALGORITHM value (alter_algorithm_option_value). DEFAULT is a keyword;
the rest are matched case-insensitively as identifiers, and an unknown value is a binding
reject (ER_UNKNOWN_ALTER_ALGORITHM 1800), not a syntax error — so only these four bind.
Variants§
Default
DEFAULT — let the server choose.
Inplace
INPLACE — rebuild in place where supported.
Instant
INSTANT — metadata-only change where supported.
Copy
COPY — rebuild via a table copy.
Trait Implementations§
Source§impl Clone for IndexAlgorithm
impl Clone for IndexAlgorithm
Source§fn clone(&self) -> IndexAlgorithm
fn clone(&self) -> IndexAlgorithm
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 IndexAlgorithm
Source§impl Debug for IndexAlgorithm
impl Debug for IndexAlgorithm
Source§impl<'de> Deserialize<'de> for IndexAlgorithm
impl<'de> Deserialize<'de> for IndexAlgorithm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for IndexAlgorithm
Source§impl Hash for IndexAlgorithm
impl Hash for IndexAlgorithm
Source§impl PartialEq for IndexAlgorithm
impl PartialEq for IndexAlgorithm
Source§impl Serialize for IndexAlgorithm
impl Serialize for IndexAlgorithm
impl StructuralPartialEq for IndexAlgorithm
Auto Trait Implementations§
impl Freeze for IndexAlgorithm
impl RefUnwindSafe for IndexAlgorithm
impl Send for IndexAlgorithm
impl Sync for IndexAlgorithm
impl Unpin for IndexAlgorithm
impl UnsafeUnpin for IndexAlgorithm
impl UnwindSafe for IndexAlgorithm
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