Enum mysql_common::binlog::consts::StatusVarKey[][src]

#[repr(u8)]
pub enum StatusVarKey {
Show 21 variants Flags2, SqlMode, Catalog, AutoIncrement, Charset, TimeZone, CatalogNz, LcTimeNames, CharsetDatabase, TableMapForUpdate, MasterDataWritten, Invoker, UpdatedDbNames, Microseconds, CommitTs, CommitTs2, ExplicitDefaultsForTimestamp, DdlLoggedWithXid, DefaultCollationForUtf8mb4, SqlRequirePrimaryKey, DefaultTableEncryption,
}
Expand description

Binlog query event status vars keys.

Variants

Flags2

Contains Flags2 flags.

SqlMode

Contains SqlMode flags.

Catalog

Contains values in the following order:

  • 1 byte length,
  • length bytes catalog,
  • NULL byte.

length + 2 bytes in total.

AutoIncrement

Contains values in the following order:

  • 2 bytes unsigned little-endian auto_increment_increment,
  • 2 bytes unsigned little-endian auto_increment_offset.

Four bytes in total.

Charset

Contains values in the following order:

  • 2 bytes unsigned little-endian character_set_client,
  • 2 bytes unsigned little-endian collation_connection,
  • 2 bytes unsigned little-endian collation_server.

Six bytes in total.

TimeZone

Contains values in the following order:

  • 1 byte length,
  • length bytes timezone.

length + 1 bytes in total.

CatalogNz

Contains values in the following order:

  • 1 byte length,
  • length bytes catalog.

length + 1 bytes in total.

LcTimeNames

Contains 2 bytes code identifying a table of month and day names.

The mapping from codes to languages is defined in sql_locale.cc.

CharsetDatabase

Contains 2 bytes value of the collation_database system variable.

TableMapForUpdate

Contains 8 bytes value of the table map that is to be updated by the multi-table update query statement.

MasterDataWritten

Contains 4 bytes bitfield.

Invoker

Contains values in the following order:

  • 1 byte user_length,
  • user_length bytes user,
  • 1 byte host_length,
  • host_length bytes host.

user_length + host_length + 2 bytes in total.

UpdatedDbNames

Contains values in the following order:

  • 1 byte count,
  • count times:
    • null-terminated db_name.

1 + db_names_lens.sum() bytes in total.

Microseconds

Contains 3 bytes unsigned little-endian integer.

CommitTs

CommitTs2

ExplicitDefaultsForTimestamp

Contains 1 byte boolean.

DdlLoggedWithXid

Contains 8 bytes unsigned little-endian integer carrying xid info of 2pc-aware (recoverable) DDL queries.

DefaultCollationForUtf8mb4

Contains 2 bytes unsigned little-endian integer carrying the default collation for the utf8mb4 character set.

SqlRequirePrimaryKey

Contains 1 byte value.

DefaultTableEncryption

Contains 1 byte value.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Converts self into T using Into<T>. Read more

Extract a subset of the possible types in a coproduct (or get the remaining possibilities) Read more

Causes self to use its Binary implementation when Debug-formatted.

Causes self to use its Display implementation when Debug-formatted. Read more

Causes self to use its LowerExp implementation when Debug-formatted. Read more

Causes self to use its LowerHex implementation when Debug-formatted. Read more

Causes self to use its Octal implementation when Debug-formatted.

Causes self to use its Pointer implementation when Debug-formatted. Read more

Causes self to use its UpperExp implementation when Debug-formatted. Read more

Causes self to use its UpperHex implementation when Debug-formatted. Read more

Performs the conversion.

Performs the conversion.

Performs the indexed conversion.

Pipes by value. This is generally the method you want to use. Read more

Borrows self and passes that borrow into the pipe function. Read more

Mutably borrows self and passes that borrow into the pipe function. Read more

Borrows self, then passes self.borrow() into the pipe function. Read more

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more

Borrows self, then passes self.as_ref() into the pipe function.

Mutably borrows self, then passes self.as_mut() into the pipe function. Read more

Borrows self, then passes self.deref() into the pipe function.

Mutably borrows self, then passes self.deref_mut() into the pipe function. Read more

Should always be Self

Consumes the current HList and returns an HList with the requested shape. Read more

Immutable access to a value. Read more

Mutable access to a value. Read more

Immutable access to the Borrow<B> of a value. Read more

Mutable access to the BorrowMut<B> of a value. Read more

Immutable access to the AsRef<R> view of a value. Read more

Mutable access to the AsMut<R> view of a value. Read more

Immutable access to the Deref::Target of a value. Read more

Mutable access to the Deref::Target of a value. Read more

Calls .tap() only in debug builds, and is erased in release builds.

Calls .tap_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref_mut() only in debug builds, and is erased in release builds. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Attempts to convert self into T using TryInto<T>. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.