pub struct Sqlite;
Expand description
Sqlite database driver.
Trait Implementations
sourceimpl 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.
type Value = SqliteValue
type Value = SqliteValue
The concrete type used to hold an owned copy of the not-yet-decoded value that was received from the database. Read more
sourceimpl<'r> Decode<'r, Sqlite> for bool
impl<'r> Decode<'r, Sqlite> for bool
sourcefn decode(value: SqliteValueRef<'r>) -> Result<bool, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<bool, BoxDynError>
Decode a new value of this type using a raw value from the database.
sourceimpl<'r> Decode<'r, Sqlite> for &'r [u8]
impl<'r> Decode<'r, Sqlite> for &'r [u8]
sourcefn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
sourceimpl<'r> Decode<'r, Sqlite> for &'r str
impl<'r> Decode<'r, Sqlite> for &'r str
sourcefn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
sourceimpl<'r> Decode<'r, Sqlite> for String
impl<'r> Decode<'r, Sqlite> for String
sourcefn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
sourceimpl<'r> Decode<'r, Sqlite> for Cow<'r, str>
impl<'r> Decode<'r, Sqlite> for Cow<'r, str>
sourcefn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
sourceimpl<'r> Decode<'r, Sqlite> for u8
impl<'r> Decode<'r, Sqlite> for u8
sourcefn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
sourceimpl<'r> Decode<'r, Sqlite> for u16
impl<'r> Decode<'r, Sqlite> for u16
sourcefn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
sourceimpl<'r> Decode<'r, Sqlite> for u32
impl<'r> Decode<'r, Sqlite> for u32
sourcefn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
sourceimpl<'r> Decode<'r, Sqlite> for Vec<u8>
impl<'r> Decode<'r, Sqlite> for Vec<u8>
sourcefn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
sourceimpl<'r> Decode<'r, Sqlite> for f32
impl<'r> Decode<'r, Sqlite> for f32
sourcefn decode(value: SqliteValueRef<'r>) -> Result<f32, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<f32, BoxDynError>
Decode a new value of this type using a raw value from the database.
sourceimpl<'r> Decode<'r, Sqlite> for f64
impl<'r> Decode<'r, Sqlite> for f64
sourcefn decode(value: SqliteValueRef<'r>) -> Result<f64, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<f64, BoxDynError>
Decode a new value of this type using a raw value from the database.
sourceimpl<'r> Decode<'r, Sqlite> for i8
impl<'r> Decode<'r, Sqlite> for i8
sourcefn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
sourceimpl<'r> Decode<'r, Sqlite> for i16
impl<'r> Decode<'r, Sqlite> for i16
sourcefn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
sourceimpl<'r> Decode<'r, Sqlite> for i32
impl<'r> Decode<'r, Sqlite> for i32
sourcefn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
sourceimpl<'r> Decode<'r, Sqlite> for i64
impl<'r> Decode<'r, Sqlite> for i64
sourcefn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
sourceimpl<'r, T> Decode<'r, Sqlite> for Json<T> where
T: 'r + Deserialize<'r>,
impl<'r, T> Decode<'r, Sqlite> for Json<T> where
T: 'r + Deserialize<'r>,
sourcefn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: SqliteValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
sourceimpl<T> Encode<'_, Sqlite> for Json<T> where
T: Serialize,
impl<T> Encode<'_, Sqlite> for Json<T> where
T: Serialize,
sourcefn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for bool
impl<'q> Encode<'q, Sqlite> for bool
sourcefn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for &'q [u8]
impl<'q> Encode<'q, Sqlite> for &'q [u8]
sourcefn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for String
impl<'q> Encode<'q, Sqlite> for String
sourcefn encode(self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode(self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
sourcefn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for Cow<'q, str>
impl<'q> Encode<'q, Sqlite> for Cow<'q, str>
sourcefn encode(self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode(self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
sourcefn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for u8
impl<'q> Encode<'q, Sqlite> for u8
sourcefn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for u16
impl<'q> Encode<'q, Sqlite> for u16
sourcefn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for u32
impl<'q> Encode<'q, Sqlite> for u32
sourcefn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q, T> Encode<'q, Sqlite> for Option<T> where
T: Encode<'q, Sqlite> + Type<Sqlite> + 'q,
impl<'q, T> Encode<'q, Sqlite> for Option<T> where
T: Encode<'q, Sqlite> + Type<Sqlite> + 'q,
fn produces(&self) -> Option<<Sqlite as Database>::TypeInfo>
sourcefn encode(
self,
buf: &mut <Sqlite as HasArguments<'q>>::ArgumentBuffer
) -> IsNull
fn encode(
self,
buf: &mut <Sqlite as HasArguments<'q>>::ArgumentBuffer
) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
sourcefn encode_by_ref(
&self,
buf: &mut <Sqlite as HasArguments<'q>>::ArgumentBuffer
) -> IsNull
fn encode_by_ref(
&self,
buf: &mut <Sqlite as HasArguments<'q>>::ArgumentBuffer
) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for Vec<u8>
impl<'q> Encode<'q, Sqlite> for Vec<u8>
sourcefn encode(self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode(self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
in the expected format for the database.
sourcefn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for f32
impl<'q> Encode<'q, Sqlite> for f32
sourcefn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for f64
impl<'q> Encode<'q, Sqlite> for f64
sourcefn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for i8
impl<'q> Encode<'q, Sqlite> for i8
sourcefn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for i16
impl<'q> Encode<'q, Sqlite> for i16
sourcefn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for i32
impl<'q> Encode<'q, Sqlite> for i32
sourcefn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for i64
impl<'q> Encode<'q, Sqlite> for i64
sourcefn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> Encode<'q, Sqlite> for &'q str
impl<'q> Encode<'q, Sqlite> for &'q str
sourcefn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
Writes the value of self
into buf
without moving self
. Read more
sourcefn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNull where
Self: Sized,
Writes the value of self
into buf
in the expected format for the database.
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
sourceimpl<'q> HasArguments<'q> for Sqlite
impl<'q> HasArguments<'q> for Sqlite
type Database = Sqlite
type Arguments = SqliteArguments<'q>
type Arguments = SqliteArguments<'q>
The concrete Arguments
implementation for this database.
type ArgumentBuffer = Vec<SqliteArgumentValue<'q>, Global>
type ArgumentBuffer = Vec<SqliteArgumentValue<'q>, Global>
The concrete type used as a buffer for arguments while encoding.
sourceimpl<'q> HasStatement<'q> for Sqlite
impl<'q> HasStatement<'q> for Sqlite
type Database = Sqlite
type Statement = SqliteStatement<'q>
type Statement = SqliteStatement<'q>
The concrete Statement
implementation for this database.
sourceimpl<'r> HasValueRef<'r> for Sqlite
impl<'r> HasValueRef<'r> for Sqlite
type Database = Sqlite
type ValueRef = SqliteValueRef<'r>
type ValueRef = SqliteValueRef<'r>
The concrete type used to hold a reference to the not-yet-decoded value that has just been received from the database. Read more
sourceimpl MigrateDatabase for Sqlite
impl MigrateDatabase for Sqlite
sourceimpl Type<Sqlite> for bool
impl Type<Sqlite> for bool
sourcefn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcefn compatible(ty: &SqliteTypeInfo) -> bool
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for [u8]
impl Type<Sqlite> for [u8]
sourcefn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcefn compatible(ty: &SqliteTypeInfo) -> bool
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for str
impl Type<Sqlite> for str
sourcefn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcefn compatible(ty: &DB::TypeInfo) -> bool
fn compatible(ty: &DB::TypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for String
impl Type<Sqlite> for String
sourcefn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcefn compatible(ty: &DB::TypeInfo) -> bool
fn compatible(ty: &DB::TypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for Cow<'_, str>
impl Type<Sqlite> for Cow<'_, str>
sourcefn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcefn compatible(ty: &SqliteTypeInfo) -> bool
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for u8
impl Type<Sqlite> for u8
sourcefn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcefn compatible(ty: &SqliteTypeInfo) -> bool
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for u16
impl Type<Sqlite> for u16
sourcefn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcefn compatible(ty: &SqliteTypeInfo) -> bool
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for u32
impl Type<Sqlite> for u32
sourcefn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcefn compatible(ty: &SqliteTypeInfo) -> bool
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for Vec<u8>
impl Type<Sqlite> for Vec<u8>
sourcefn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcefn compatible(ty: &SqliteTypeInfo) -> bool
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for f32
impl Type<Sqlite> for f32
sourcefn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcefn compatible(ty: &DB::TypeInfo) -> bool
fn compatible(ty: &DB::TypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for f64
impl Type<Sqlite> for f64
sourcefn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcefn compatible(ty: &DB::TypeInfo) -> bool
fn compatible(ty: &DB::TypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for i8
impl Type<Sqlite> for i8
sourcefn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcefn compatible(ty: &SqliteTypeInfo) -> bool
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for i16
impl Type<Sqlite> for i16
sourcefn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcefn compatible(ty: &SqliteTypeInfo) -> bool
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for i32
impl Type<Sqlite> for i32
sourcefn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcefn compatible(ty: &SqliteTypeInfo) -> bool
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl Type<Sqlite> for i64
impl Type<Sqlite> for i64
sourcefn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcefn compatible(ty: &SqliteTypeInfo) -> bool
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceimpl<T> Type<Sqlite> for Json<T>
impl<T> Type<Sqlite> for Json<T>
sourcefn type_info() -> SqliteTypeInfo
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourcefn compatible(ty: &SqliteTypeInfo) -> bool
fn compatible(ty: &SqliteTypeInfo) -> 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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more