pub enum MySQLIndexLock {
Default,
None,
Shared,
Exclusive,
}Expand description
Metadata-lock policy requested for a generated MySQL index.
Variants§
Default
Lets MySQL choose the metadata-lock policy.
None
Permits concurrent reads and writes when supported.
Permits concurrent reads but blocks writes.
Exclusive
Blocks concurrent access.
Implementations§
Trait Implementations§
Source§impl Clone for MySQLIndexLock
impl Clone for MySQLIndexLock
impl Copy for MySQLIndexLock
Source§impl Debug for MySQLIndexLock
impl Debug for MySQLIndexLock
impl Eq for MySQLIndexLock
Source§impl Hash for MySQLIndexLock
impl Hash for MySQLIndexLock
Source§impl PartialEq for MySQLIndexLock
impl PartialEq for MySQLIndexLock
impl StructuralPartialEq for MySQLIndexLock
Auto Trait Implementations§
impl Freeze for MySQLIndexLock
impl RefUnwindSafe for MySQLIndexLock
impl Send for MySQLIndexLock
impl Sync for MySQLIndexLock
impl Unpin for MySQLIndexLock
impl UnsafeUnpin for MySQLIndexLock
impl UnwindSafe for MySQLIndexLock
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