Skip to content

Commit

Permalink
Add drop handler for async cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
pacman82 committed Aug 23, 2022
1 parent f595f7e commit 3cbeadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odbc-api/src/cursor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ where
///
/// Like [`CursorImpl`] this is an ODBC statement handle in cursor state. However unlike its
/// synchronous sibling this statement handle is in asynchronous polling mode.
pub struct AsyncCursor<Stmt> {
pub struct AsyncCursor<Stmt: AsStatementRef> {
/// A statement handle in cursor state with asynchronous mode enabled.
statement: Stmt
}
Expand Down

0 comments on commit 3cbeadd

Please sign in to comment.