pub struct ConnectionHandle { /* private fields */ }
Implementations§
Source§impl ConnectionHandle
impl ConnectionHandle
Sourcepub unsafe fn from_raw(
raw: duckdb_connection,
parent: Arc<DatabaseHandle>,
) -> Arc<Self>
pub unsafe fn from_raw( raw: duckdb_connection, parent: Arc<DatabaseHandle>, ) -> Arc<Self>
§Safety
- Takes ownership of
raw
pub fn register_table_function( &self, function: Arc<TableFunctionHandle>, ) -> Result<(), ConnectionHandleError>
Trait Implementations§
Source§impl Debug for ConnectionHandle
impl Debug for ConnectionHandle
Source§impl Deref for ConnectionHandle
impl Deref for ConnectionHandle
Auto Trait Implementations§
impl !Freeze for ConnectionHandle
impl RefUnwindSafe for ConnectionHandle
impl !Send for ConnectionHandle
impl !Sync for ConnectionHandle
impl Unpin for ConnectionHandle
impl UnwindSafe for ConnectionHandle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more