pub enum KillTarget {
Unspecified,
Connection,
Query,
}Expand description
The optional scope keyword of a KillStatement.
A surface tag (no meta), riding the parent’s span like CopyDirection.
Variants§
Unspecified
Bare KILL <id> — no keyword written (MySQL defaults it to CONNECTION).
Connection
KILL CONNECTION <id> — terminate the whole connection.
Query
KILL QUERY <id> — terminate only the connection’s current statement.
Trait Implementations§
Source§impl Clone for KillTarget
impl Clone for KillTarget
Source§fn clone(&self) -> KillTarget
fn clone(&self) -> KillTarget
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 KillTarget
Source§impl Debug for KillTarget
impl Debug for KillTarget
Source§impl<'de> Deserialize<'de> for KillTarget
impl<'de> Deserialize<'de> for KillTarget
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 KillTarget
Source§impl Hash for KillTarget
impl Hash for KillTarget
Source§impl PartialEq for KillTarget
impl PartialEq for KillTarget
Source§impl Serialize for KillTarget
impl Serialize for KillTarget
impl StructuralPartialEq for KillTarget
Auto Trait Implementations§
impl Freeze for KillTarget
impl RefUnwindSafe for KillTarget
impl Send for KillTarget
impl Sync for KillTarget
impl Unpin for KillTarget
impl UnsafeUnpin for KillTarget
impl UnwindSafe for KillTarget
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