pub struct Context(/* private fields */);Expand description
Context is used by VTabCursor::column to specify the
cell value.
Implementations§
Source§impl Context
impl Context
Sourcepub fn set_result<T: ToSql>(&mut self, value: T) -> Result<()>
pub fn set_result<T: ToSql>(&mut self, value: T) -> Result<()>
Set current cell value
Sourcepub unsafe fn get_connection(&self) -> Result<ConnectionRef<'_>>
pub unsafe fn get_connection(&self) -> Result<ConnectionRef<'_>>
Get the db connection handle via sqlite3_context_db_handle
§Safety
This function is unsafe because improper use may impact the Connection.
Auto Trait Implementations§
impl !Send for Context
impl !Sync for Context
impl Forget for Context
impl Freeze for Context
impl Move for Context
impl RefUnwindSafe for Context
impl Unpin for Context
impl UnsafeUnpin for Context
impl UnwindSafe for Context
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