Enum hdbconnect::HdbReturnValue[][src]

pub enum HdbReturnValue {
    ResultSet(ResultSet),
    AffectedRows(Vec<usize>),
    OutputParameters(OutputParameters),
    Success,
    XaTransactionIds(Vec<XaTransactionId>),
}

An enum that describes a single database return value.

Variants

A resultset of a query.

A list of numbers of affected rows.

Values of output parameters of a procedure call.

Indication that a db call was successful.

A list of XaTransactionIds.

Methods

impl HdbReturnValue
[src]

Turns itself into a single resultset.

If this cannot be done without loss of information, an error is returned.

Turns itself into a Vector of numbers (each number representing a number of affected rows).

If this cannot be done without loss of information, an error is returned.

Turns itself into a Vector of numbers (each number representing a number of affected rows).

If this cannot be done without loss of information, an error is returned.

Turns itself into (), if the statement had returned successfully.

If this cannot be done without loss of information, an error is returned.

Returns true if the statement had returned successfully.

Trait Implementations

impl Debug for HdbReturnValue
[src]

Formats the value using the given formatter. Read more

impl Display for HdbReturnValue
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations