[−][src]Enum hdbconnect::HdbReturnValue
An enum that describes a single database return value.
Variants
ResultSet(ResultSet)
A resultset of a query.
AffectedRows(Vec<usize>)
A list of numbers of affected rows.
OutputParameters(OutputParameters)
Values of output parameters of a procedure call.
Success
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.
If this cannot be done without loss of information, an error is returned.
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).
If this cannot be done without loss of information, an error is returned.
pub 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.
pub 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.
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 Send for HdbReturnValue
impl !Sync for HdbReturnValue
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Same for T
type Output = T
Should always be Self