Struct mysql::consts::StatusFlags[]

pub struct StatusFlags { /* fields omitted */ }

MySql server status flags

Methods

impl StatusFlags

SERVER_STATUS_IN_TRANS: StatusFlags = StatusFlags{bits: 1,}

Is raised when a multi-statement transaction has been started, either explicitly, by means of BEGIN or COMMIT AND CHAIN, or implicitly, by the first transactional statement, when autocommit=off.

SERVER_STATUS_AUTOCOMMIT: StatusFlags = StatusFlags{bits: 2,}

Server in auto_commit mode.

SERVER_MORE_RESULTS_EXISTS: StatusFlags = StatusFlags{bits: 8,}

Multi query - next query exists.

SERVER_STATUS_NO_GOOD_INDEX_USED: StatusFlags = StatusFlags{bits: 16,}

SERVER_STATUS_NO_INDEX_USED: StatusFlags = StatusFlags{bits: 32,}

SERVER_STATUS_CURSOR_EXISTS: StatusFlags = StatusFlags{bits: 64,}

The server was able to fulfill the clients request and opened a read-only non-scrollable cursor for a query. This flag comes in reply to COM_STMT_EXECUTE and COM_STMT_FETCH commands. Used by Binary Protocol Resultset to signal that COM_STMT_FETCH must be used to fetch the row-data.

SERVER_STATUS_LAST_ROW_SENT: StatusFlags = StatusFlags{bits: 128,}

This flag is sent when a read-only cursor is exhausted, in reply to COM_STMT_FETCH command.

SERVER_STATUS_DB_DROPPED: StatusFlags = StatusFlags{bits: 256,}

A database was dropped.

SERVER_STATUS_NO_BACKSLASH_ESCAPES: StatusFlags = StatusFlags{bits: 512,}

SERVER_STATUS_METADATA_CHANGED: StatusFlags = StatusFlags{bits: 1024,}

Sent to the client if after a prepared statement reprepare we discovered that the new statement returns a different number of result set columns.

SERVER_QUERY_WAS_SLOW: StatusFlags = StatusFlags{bits: 2048,}

SERVER_PS_OUT_PARAMS: StatusFlags = StatusFlags{bits: 4096,}

To mark ResultSet containing output parameter values.

SERVER_STATUS_IN_TRANS_READONLY: StatusFlags = StatusFlags{bits: 8192,}

Set at the same time as SERVER_STATUS_IN_TRANS if the started multi-statement transaction is a read-only transaction. Cleared when the transaction commits or aborts. Since this flag is sent to clients in OK and EOF packets, the flag indicates the transaction status at the end of command execution.

SERVER_SESSION_STATE_CHANGED: StatusFlags = StatusFlags{bits: 16384,}

This status flag, when on, implies that one of the state information has changed on the server because of the execution of the last statement.

Returns an empty set of flags.

Returns the set containing all flags.

Returns the raw value of the flags currently stored.

Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.

Convert from underlying bit representation, dropping any bits that do not correspond to flags.

Returns true if no flags are currently stored.

Returns true if all flags are currently set.

Returns true if there are flags common to both self and other.

Returns true all of the flags in other are contained within self.

Inserts the specified flags in-place.

Removes the specified flags in-place.

Toggles the specified flags in-place.

Inserts or removes the specified flags depending on the passed value.

Trait Implementations

impl LowerHex for StatusFlags

Formats the value using the given formatter.

impl BitAnd<StatusFlags> for StatusFlags

The resulting type after applying the & operator.

Returns the intersection between the two sets of flags.

impl PartialOrd<StatusFlags> for StatusFlags

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Extend<StatusFlags> for StatusFlags

Extends a collection with the contents of an iterator. Read more

impl Hash for StatusFlags

Feeds this value into the given [Hasher]. Read more

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

impl Sub<StatusFlags> for StatusFlags

The resulting type after applying the - operator.

Returns the set difference of the two sets of flags.

impl Clone for StatusFlags

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for StatusFlags

Formats the value using the given formatter. Read more

impl Ord for StatusFlags

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Binary for StatusFlags

Formats the value using the given formatter.

impl Octal for StatusFlags

Formats the value using the given formatter.

impl UpperHex for StatusFlags

Formats the value using the given formatter.

impl BitOr<StatusFlags> for StatusFlags

The resulting type after applying the | operator.

Returns the union of the two sets of flags.

impl FromIterator<StatusFlags> for StatusFlags

Creates a value from an iterator. Read more

impl SubAssign<StatusFlags> for StatusFlags

Disables all flags enabled in the set.

impl BitXor<StatusFlags> for StatusFlags

The resulting type after applying the ^ operator.

Returns the left flags, but with all the right flags toggled.

impl Copy for StatusFlags

impl BitAndAssign<StatusFlags> for StatusFlags

Disables all flags disabled in the set.

impl Eq for StatusFlags

impl PartialEq<StatusFlags> for StatusFlags

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

This method tests for !=.

impl BitXorAssign<StatusFlags> for StatusFlags

Toggles the set of flags.

impl Not for StatusFlags

The resulting type after applying the ! operator.

Returns the complement of this set of flags.

impl BitOrAssign<StatusFlags> for StatusFlags

Adds the set of flags.

Auto Trait Implementations

impl Send for StatusFlags

impl Sync for StatusFlags