#[non_exhaustive]pub enum HaCloneType {
Blocking,
Redo,
Page,
Hybrid,
MultiTask,
Restart,
Unknown,
}Expand description
Clone-transfer type the source engine should perform.
Mirrors enum Ha_clone_type in mysql-server/sql/handler.h.
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.
Blocking
HA_CLONE_BLOCKING: serialised copy (write operations must block).
Redo
HA_CLONE_REDO: archive redo log to support concurrent DML.
Page
HA_CLONE_PAGE: page-tracked incremental.
Hybrid
HA_CLONE_HYBRID: page tracking + redo (currently InnoDB).
MultiTask
HA_CLONE_MULTI_TASK: multiple worker threads.
Restart
HA_CLONE_RESTART: restart after network failure.
Unknown
Forward-compatible fallback.
Implementations§
Trait Implementations§
Source§impl Clone for HaCloneType
impl Clone for HaCloneType
Source§fn clone(&self) -> HaCloneType
fn clone(&self) -> HaCloneType
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 HaCloneType
Source§impl Debug for HaCloneType
impl Debug for HaCloneType
impl Eq for HaCloneType
Source§impl PartialEq for HaCloneType
impl PartialEq for HaCloneType
Source§fn eq(&self, other: &HaCloneType) -> bool
fn eq(&self, other: &HaCloneType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HaCloneType
Auto Trait Implementations§
impl Freeze for HaCloneType
impl RefUnwindSafe for HaCloneType
impl Send for HaCloneType
impl Sync for HaCloneType
impl Unpin for HaCloneType
impl UnsafeUnpin for HaCloneType
impl UnwindSafe for HaCloneType
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