pub struct MySql;Expand description
Classifies MySQL client protocol packets: 3-byte payload length, sequence id, command byte, payload.
COM_QUERY (0x03) is classified by its SQL text; the prepared statement
commands (COM_STMT_PREPARE, _EXECUTE, _SEND_LONG_DATA, _CLOSE,
_RESET) are writes, so they reach the primary; anything else is unknown.
PHP: Utopia\Query\Classifier\MySQL.
Trait Implementations§
Source§impl Classifier for MySql
impl Classifier for MySql
impl Copy for MySql
impl Eq for MySql
impl StructuralPartialEq for MySql
Auto Trait Implementations§
impl Forget for MySql
impl Freeze for MySql
impl Move for MySql
impl RefUnwindSafe for MySql
impl Send for MySql
impl Sync for MySql
impl Unpin for MySql
impl UnsafeUnpin for MySql
impl UnwindSafe for MySql
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.