#[non_exhaustive]pub enum TablespaceType {
Dictionary,
System,
Undo,
Temporary,
Shared,
Implicit,
}Expand description
The classification of a data-dictionary tablespace.
Mirrors enum class Tablespace_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.
Dictionary
SPACE_TYPE_DICTIONARY
System
SPACE_TYPE_SYSTEM
Undo
SPACE_TYPE_UNDO
Temporary
SPACE_TYPE_TEMPORARY
SPACE_TYPE_SHARED
Implicit
SPACE_TYPE_IMPLICIT
Implementations§
Trait Implementations§
Source§impl Clone for TablespaceType
impl Clone for TablespaceType
Source§fn clone(&self) -> TablespaceType
fn clone(&self) -> TablespaceType
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 TablespaceType
Source§impl Debug for TablespaceType
impl Debug for TablespaceType
impl Eq for TablespaceType
Source§impl PartialEq for TablespaceType
impl PartialEq for TablespaceType
Source§fn eq(&self, other: &TablespaceType) -> bool
fn eq(&self, other: &TablespaceType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TablespaceType
Auto Trait Implementations§
impl Freeze for TablespaceType
impl RefUnwindSafe for TablespaceType
impl Send for TablespaceType
impl Sync for TablespaceType
impl Unpin for TablespaceType
impl UnsafeUnpin for TablespaceType
impl UnwindSafe for TablespaceType
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