pub enum LoadDataConcurrency {
LowPriority,
Concurrent,
}Expand description
The optional table-lock concurrency modifier of a LoadDataStatement (mysql
sql_yacc.yy load_data_lock). The default (no keyword) is a plain write lock and is
modelled as None on the statement, so this enum carries only the two written spellings.
Variants§
LowPriority
LOW_PRIORITY — defer the load until no clients are reading the table.
Concurrent
CONCURRENT — allow other clients to read the table during the load.
Trait Implementations§
Source§impl Clone for LoadDataConcurrency
impl Clone for LoadDataConcurrency
Source§fn clone(&self) -> LoadDataConcurrency
fn clone(&self) -> LoadDataConcurrency
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 LoadDataConcurrency
Source§impl Debug for LoadDataConcurrency
impl Debug for LoadDataConcurrency
Source§impl<'de> Deserialize<'de> for LoadDataConcurrency
impl<'de> Deserialize<'de> for LoadDataConcurrency
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 LoadDataConcurrency
Source§impl Hash for LoadDataConcurrency
impl Hash for LoadDataConcurrency
Source§impl PartialEq for LoadDataConcurrency
impl PartialEq for LoadDataConcurrency
Source§impl Render for LoadDataConcurrency
impl Render for LoadDataConcurrency
Source§fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
Return the render for this value.
Source§fn operand_binding_power(&self) -> Option<BindingPower>
fn operand_binding_power(&self) -> Option<BindingPower>
The binding power this node contributes when it appears as an operand, or
None (the default) for a self-delimiting node — an atom, call, or
constructor — that never needs parentheses. Read moreSource§impl Serialize for LoadDataConcurrency
impl Serialize for LoadDataConcurrency
impl StructuralPartialEq for LoadDataConcurrency
Auto Trait Implementations§
impl Freeze for LoadDataConcurrency
impl RefUnwindSafe for LoadDataConcurrency
impl Send for LoadDataConcurrency
impl Sync for LoadDataConcurrency
impl Unpin for LoadDataConcurrency
impl UnsafeUnpin for LoadDataConcurrency
impl UnwindSafe for LoadDataConcurrency
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