Enum odbc_sys::FreeStmtOption [−][src]
#[repr(u16)]
pub enum FreeStmtOption {
Close,
Unbind,
ResetParams,
}SQL Free Statement options
Variants
Closes the cursor associated with StatementHandle (if one was defined) and discards all
pending results. The application can reopen this cursor later by executing a SELECT
statement again with the same or different parameter values. If no cursor is open, this
option has no effect for the application. SQLCloseCursor can also be called to close a
cursor.
Sets the SQL_DESC_COUNT field of the ARD to 0, releasing all column buffers bound by
SQLBindCol for the given StatementHandle. This does not unbind the bookmark column; to do
that, the SQL_DESC_DATA_PTR field of the ARD for the bookmark column is set to NULL.
Notice that if this operation is performed on an explicitly allocated descriptor that is
shared by more than one statement, the operation will affect the bindings of all statements
that share the descriptor.
Sets the SQL_DESC_COUNT field of the APD to 0, releasing all parameter buffers set by
SQLBindParameter for the given StatementHandle. If this operation is performed on an
explicitly allocated descriptor that is shared by more than one statement, this operation
will affect the bindings of all the statements that share the descriptor.
Trait Implementations
impl Clone for FreeStmtOption[src]
impl Clone for FreeStmtOption[src]fn clone(&self) -> FreeStmtOption[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for FreeStmtOption[src]
impl Copy for FreeStmtOption[src]impl Eq for FreeStmtOption[src]
impl Eq for FreeStmtOption[src]impl PartialEq<FreeStmtOption> for FreeStmtOption[src]
impl PartialEq<FreeStmtOption> for FreeStmtOption[src]impl StructuralEq for FreeStmtOption[src]
impl StructuralEq for FreeStmtOption[src]impl StructuralPartialEq for FreeStmtOption[src]
impl StructuralPartialEq for FreeStmtOption[src]Auto Trait Implementations
impl RefUnwindSafe for FreeStmtOption
impl RefUnwindSafe for FreeStmtOptionimpl Send for FreeStmtOption
impl Send for FreeStmtOptionimpl Sync for FreeStmtOption
impl Sync for FreeStmtOptionimpl Unpin for FreeStmtOption
impl Unpin for FreeStmtOptionimpl UnwindSafe for FreeStmtOption
impl UnwindSafe for FreeStmtOption