Struct xql_sqlx_sqlite::Sqlite
[−]pub struct Sqlite;Expand description
Sqlite database driver.
Trait Implementations
impl Database for Sqlite
impl Database for Sqlite
type Connection = SqliteConnection
type Connection = SqliteConnection
The concrete Connection implementation for this database.
type TransactionManager = SqliteTransactionManager
type TransactionManager = SqliteTransactionManager
The concrete TransactionManager implementation for this database.
type QueryResult = SqliteQueryResult
type QueryResult = SqliteQueryResult
The concrete QueryResult implementation for this database.
type Column = SqliteColumn
type Column = SqliteColumn
The concrete Column implementation for this database.
type TypeInfo = SqliteTypeInfo
type TypeInfo = SqliteTypeInfo
The concrete TypeInfo implementation for this database.
impl<'q> Encode<'q, Sqlite> for &'q [u8]
impl<'q> Encode<'q, Sqlite> for &'q [u8]
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self into buf without moving self. Read more
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self into buf in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
impl<'q> Encode<'q, Sqlite> for &'q str
impl<'q> Encode<'q, Sqlite> for &'q str
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
pub fn encode_by_ref(
&self,
args: &mut Vec<SqliteArgumentValue<'q>, Global>
) -> IsNull
Writes the value of self into buf without moving self. Read more
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull
Writes the value of self into buf in the expected format for the database.
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
impl<'q> HasArguments<'q> for Sqlite
impl<'q> HasArguments<'q> for Sqlite
impl<'q> HasStatement<'q> for Sqlite
impl<'q> HasStatement<'q> for Sqlite
impl<'r> HasValueRef<'r> for Sqlite
impl<'r> HasValueRef<'r> for Sqlite
impl Type<Sqlite> for [u8]
impl Type<Sqlite> for [u8]
pub fn compatible(ty: &SqliteTypeInfo) -> bool
pub fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
impl Type<Sqlite> for str
impl Type<Sqlite> for str
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
fn compatible(ty: &<DB as Database>::TypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
impl HasStatementCache for Sqlite
Auto Trait Implementations
impl RefUnwindSafe for Sqlite
impl Send for Sqlite
impl Sync for Sqlite
impl Unpin for Sqlite
impl UnwindSafe for Sqlite
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more