[]Struct msql_srv::StatusFlags

pub struct StatusFlags { /* fields omitted */ }

MySql server status flags

Methods

impl StatusFlags

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 in auto_commit mode.

Multi query - next query exists.

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.

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

A database was dropped.

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

To mark ResultSet containing output parameter values.

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.

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 UpperHex for StatusFlags

impl PartialOrd<StatusFlags> for StatusFlags

impl FromIterator<StatusFlags> for StatusFlags

impl BitXor<StatusFlags> for StatusFlags

The resulting type after applying the ^ operator.

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

impl SubAssign<StatusFlags> for StatusFlags

Disables all flags enabled in the set.

impl Extend<StatusFlags> for StatusFlags

impl Copy for StatusFlags

impl BitAnd<StatusFlags> for StatusFlags

The resulting type after applying the & operator.

Returns the intersection between the two sets of flags.

impl PartialEq<StatusFlags> for StatusFlags

impl BitOr<StatusFlags> for StatusFlags

The resulting type after applying the | operator.

Returns the union of the two sets of flags.

impl Clone for StatusFlags

Performs copy-assignment from source. Read more

impl LowerHex for StatusFlags

impl Ord for StatusFlags

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl BitOrAssign<StatusFlags> for StatusFlags

Adds the set of flags.

impl BitAndAssign<StatusFlags> for StatusFlags

Disables all flags disabled in the set.

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 Debug for StatusFlags

impl Eq for StatusFlags

impl Binary for StatusFlags

impl Hash for StatusFlags

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

impl Octal for StatusFlags

impl Sub<StatusFlags> for StatusFlags

The resulting type after applying the - operator.

Returns the set difference of the two sets of flags.

Auto Trait Implementations

impl Send for StatusFlags

impl Sync for StatusFlags

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]