[−][src]Enum hdbconnect::HdbReturnValue
An enum that describes a single database return value.
Variants
ResultSet(ResultSet)
A resultset of a query.
A list of numbers of affected rows.
OutputParameters(OutputParameters)
Values of output parameters of a procedure call.
Indication that a db call was successful.
XaTransactionIds(Vec<XaTransactionId>)
A list of XaTransactionId
s.
Methods
impl HdbReturnValue
[src]
pub fn into_resultset(self) -> HdbResult<ResultSet>
[src]
Turns itself into a single resultset.
Errors
HdbError::Evaluation
for other variants than HdbReturnValue::ResultSet
.
pub fn into_affected_rows(self) -> HdbResult<Vec<usize>>
[src]
Turns itself into a Vector of numbers (each number representing a number of affected rows).
Errors
HdbError::Evaluation
for other variants than HdbReturnValue::AffectedRows
.
pub fn into_output_parameters(self) -> HdbResult<OutputParameters>
[src]
Turns itself into a Vector of numbers (each number representing a number of affected rows).
Errors
HdbError::Evaluation
for other variants than HdbReturnValue::OutputParameters
.
pub fn into_success(self) -> HdbResult<()>
[src]
Turns itself into (), if the statement had returned successfully.
Errors
HdbError::Evaluation
for other variants of HdbReturnValue
.
pub fn is_success(&self) -> bool
[src]
Returns true if the statement had returned successfully.
Trait Implementations
impl Debug for HdbReturnValue
[src]
impl Display for HdbReturnValue
[src]
Auto Trait Implementations
impl RefUnwindSafe for HdbReturnValue
impl Send for HdbReturnValue
impl Sync for HdbReturnValue
impl Unpin for HdbReturnValue
impl UnwindSafe for HdbReturnValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,