[][src]Struct odbc_iter::PreparedStatement

pub struct PreparedStatement<'h>(_);

ODBC prepared statement.

Methods

impl<'h> PreparedStatement<'h>[src]

pub fn schema(&self) -> Result<Vec<ColumnType>, QueryError>[src]

Query schema information deduced from prepared statement SQL text.

pub fn columns(&self) -> Result<i16, OdbcError>[src]

Query number of columns that would be returned by execution of this prepared statement.

Trait Implementations

impl<'h> Debug for PreparedStatement<'h>[src]

Auto Trait Implementations

impl<'h> RefUnwindSafe for PreparedStatement<'h>

impl<'h> !Send for PreparedStatement<'h>

impl<'h> !Sync for PreparedStatement<'h>

impl<'h> Unpin for PreparedStatement<'h>

impl<'h> UnwindSafe for PreparedStatement<'h>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToErrorNoContext<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<E, C> WrapContext<C> for E[src]

type ContextError = ErrorContext<E, C>