Struct spin_sdk::sqlite::Connection
source · pub struct Connection { /* private fields */ }
Expand description
A handle to an open sqlite instance
Implementations§
source§impl Connection
impl Connection
sourcepub fn open_default() -> Result<Self, Error>
pub fn open_default() -> Result<Self, Error>
Open a connection to the default database
source§impl Connection
impl Connection
source§impl Connection
impl Connection
Trait Implementations§
source§impl Debug for Connection
impl Debug for Connection
source§impl WasmResource for Connection
impl WasmResource for Connection
Auto Trait Implementations§
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
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