pub struct SqliteApi { /* private fields */ }
Implementations§
Source§impl SqliteApi
impl SqliteApi
pub fn new_static() -> Self
Sourcepub unsafe fn mprintf(&self, s: &str, out: *mut *const c_char) -> VfsResult<()>
pub unsafe fn mprintf(&self, s: &str, out: *mut *const c_char) -> VfsResult<()>
Copies the provided string into a memory buffer allocated by sqlite3_mprintf.
Writes the pointer to the memory buffer to out
if out
is not null.
§Safety
- the out pointer must not be null
- it is the callers responsibility to eventually free the allocated buffer
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SqliteApi
impl RefUnwindSafe for SqliteApi
impl Send for SqliteApi
impl Sync for SqliteApi
impl Unpin for SqliteApi
impl UnwindSafe for SqliteApi
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