pub enum HandlerKeyComparison {
Eq,
GreaterOrEqual,
LessOrEqual,
Greater,
Less,
}Expand description
The key comparison of a HANDLER … READ <index> <op> (…) seek
(HandlerReadSelector::Key) — sql_yacc.yy handler_rkey_mode. A surface tag (no
meta). The set is exactly = >= <= > <; <>/!= are ER_PARSE_ERROR on mysql:8.
Variants§
Eq
= — the first row whose index value equals the key.
GreaterOrEqual
>= — the first row whose index value is greater than or equal to the key.
LessOrEqual
<= — the last row whose index value is less than or equal to the key.
Greater
> — the first row whose index value is strictly greater than the key.
Less
< — the last row whose index value is strictly less than the key.
Trait Implementations§
Source§impl Clone for HandlerKeyComparison
impl Clone for HandlerKeyComparison
Source§fn clone(&self) -> HandlerKeyComparison
fn clone(&self) -> HandlerKeyComparison
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 HandlerKeyComparison
Source§impl Debug for HandlerKeyComparison
impl Debug for HandlerKeyComparison
Source§impl<'de> Deserialize<'de> for HandlerKeyComparison
impl<'de> Deserialize<'de> for HandlerKeyComparison
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 HandlerKeyComparison
Source§impl Hash for HandlerKeyComparison
impl Hash for HandlerKeyComparison
Source§impl PartialEq for HandlerKeyComparison
impl PartialEq for HandlerKeyComparison
Source§impl Serialize for HandlerKeyComparison
impl Serialize for HandlerKeyComparison
impl StructuralPartialEq for HandlerKeyComparison
Auto Trait Implementations§
impl Freeze for HandlerKeyComparison
impl RefUnwindSafe for HandlerKeyComparison
impl Send for HandlerKeyComparison
impl Sync for HandlerKeyComparison
impl Unpin for HandlerKeyComparison
impl UnsafeUnpin for HandlerKeyComparison
impl UnwindSafe for HandlerKeyComparison
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