Struct hdbconnect::HdbResponse
[−]
[src]
pub struct HdbResponse(_);
Represents all possible non-error responses to a database command.
Methods
impl HdbResponse
[src]
fn into_resultset(self) -> HdbResult<ResultSet>
[src]
Turns itself into a single resultset.
If this cannot be done without loss of information, an error is returned.
fn into_affected_rows(self) -> HdbResult<Vec<usize>>
[src]
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.
fn into_output_parameters(self) -> HdbResult<OutputParameters>
[src]
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.
fn into_success(self) -> HdbResult<()>
[src]
Turns itself into (), if the statement had returned successfully.
If this cannot be done without loss of information, an error is returned.
fn into_single_retval(self) -> HdbResult<HdbReturnValue>
[src]
Turns itself into a single return value, if there is one any only one.
fn get_success(&mut self) -> HdbResult<()>
[src]
Returns () if a successful execution was signaled by the database explicitly, or an error otherwise.
fn get_resultset(&mut self) -> HdbResult<ResultSet>
[src]
Returns the next ResultSet
, or an error if there is none.
fn get_affected_rows(&mut self) -> HdbResult<Vec<usize>>
[src]
Returns the next set of affected rows counters, or an error if there is none.
fn get_output_parameters(&mut self) -> HdbResult<OutputParameters>
[src]
Returns the next OutputParameters
, or an error if there is none.