pub struct ClientContext<'owner> { /* private fields */ }Expand description
An owned duckdb_client_context, borrow-tied to the owner it came from so it
cannot outlive it.
Implementations§
Source§impl<'owner> ClientContext<'owner>
impl<'owner> ClientContext<'owner>
Sourcepub fn connection_id(&self) -> u64
pub fn connection_id(&self) -> u64
The stable connection id of the connection this context belongs to.
Trait Implementations§
Source§impl Drop for ClientContext<'_>
impl Drop for ClientContext<'_>
Auto Trait Implementations§
impl<'owner> !Send for ClientContext<'owner>
impl<'owner> !Sync for ClientContext<'owner>
impl<'owner> Freeze for ClientContext<'owner>
impl<'owner> RefUnwindSafe for ClientContext<'owner>
impl<'owner> Unpin for ClientContext<'owner>
impl<'owner> UnsafeUnpin for ClientContext<'owner>
impl<'owner> UnwindSafe for ClientContext<'owner>
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