[−][src]Struct sqlx::SqliteConnection
This is supported on
feature="sqlite"
only.A connection to a Sqlite database.
Trait Implementations
impl Connect for SqliteConnection
[src]
fn connect<T>(
url: T
) -> Pin<Box<dyn Future<Output = Result<SqliteConnection, Error>> + 'static + Send>> where
T: TryInto<Url, Error = ParseError>,
SqliteConnection: Sized,
[src]
url: T
) -> Pin<Box<dyn Future<Output = Result<SqliteConnection, Error>> + 'static + Send>> where
T: TryInto<Url, Error = ParseError>,
SqliteConnection: Sized,
impl Connection for SqliteConnection
[src]
fn close(
self
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static + Send>>
[src]
self
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static + Send>>
fn ping(&mut self) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>
[src]
fn begin(
self
) -> Pin<Box<dyn Future<Output = Result<Transaction<Self>, Error>> + 'static + Send>>
[src]
self
) -> Pin<Box<dyn Future<Output = Result<Transaction<Self>, Error>> + 'static + Send>>
impl Drop for SqliteConnection
[src]
impl Executor for SqliteConnection
[src]
type Database = Sqlite
The specific database that this type is implemented for.
fn execute<'e, 'q, 'c, E>(
&'c mut self,
query: E
) -> Pin<Box<dyn Future<Output = Result<u64, Error>> + 'e + Send>> where
'q: 'e,
'c: 'e,
E: 'e + Execute<'q, <SqliteConnection as Executor>::Database>,
[src]
&'c mut self,
query: E
) -> Pin<Box<dyn Future<Output = Result<u64, Error>> + 'e + Send>> where
'q: 'e,
'c: 'e,
E: 'e + Execute<'q, <SqliteConnection as Executor>::Database>,
fn fetch<'q, E>(&mut self, query: E) -> SqliteCursor<'q> where
E: Execute<'q, <SqliteConnection as Executor>::Database>,
[src]
E: Execute<'q, <SqliteConnection as Executor>::Database>,
impl<'e> RefExecutor<'e> for &'e mut SqliteConnection
[src]
type Database = Sqlite
fn fetch_by_ref<'q, E>(self, query: E) -> SqliteCursor<'e, 'q> where
E: Execute<'q, <&'e mut SqliteConnection as RefExecutor<'e>>::Database>,
[src]
E: Execute<'q, <&'e mut SqliteConnection as RefExecutor<'e>>::Database>,
Auto Trait Implementations
impl !RefUnwindSafe for SqliteConnection
impl Send for SqliteConnection
impl !Sync for SqliteConnection
impl Unpin for SqliteConnection
impl !UnwindSafe for SqliteConnection
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,