Struct sqlx_core_oldapi::sqlite::Sqlite  
source · pub struct Sqlite;Expand description
Sqlite database driver.
Trait Implementations§
source§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.§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.
source§impl Decode<'_, Sqlite> for BigDecimal
 
impl Decode<'_, Sqlite> for BigDecimal
source§fn decode(value: SqliteValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: SqliteValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Sqlite> for Decimal
 
impl Decode<'_, Sqlite> for Decimal
source§fn decode(value: SqliteValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: SqliteValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Sqlite> for Hyphenated
 
impl Decode<'_, Sqlite> for Hyphenated
source§fn decode(value: SqliteValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: SqliteValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Sqlite> for Uuid
 
impl Decode<'_, Sqlite> for Uuid
source§fn decode(value: SqliteValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: SqliteValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl<'r> Decode<'r, Sqlite> for &'r [u8]
 
impl<'r> Decode<'r, Sqlite> for &'r [u8]
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for &'r str
 
impl<'r> Decode<'r, Sqlite> for &'r str
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for Cow<'r, str>
 
impl<'r> Decode<'r, Sqlite> for Cow<'r, str>
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for Date
 
impl<'r> Decode<'r, Sqlite> for Date
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for DateTime<FixedOffset>
 
impl<'r> Decode<'r, Sqlite> for DateTime<FixedOffset>
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for DateTime<Local>
 
impl<'r> Decode<'r, Sqlite> for DateTime<Local>
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for DateTime<Utc>
 
impl<'r> Decode<'r, Sqlite> for DateTime<Utc>
source§fn 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.
source§impl<'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>,
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for NaiveDate
 
impl<'r> Decode<'r, Sqlite> for NaiveDate
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for NaiveDateTime
 
impl<'r> Decode<'r, Sqlite> for NaiveDateTime
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for NaiveTime
 
impl<'r> Decode<'r, Sqlite> for NaiveTime
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for OffsetDateTime
 
impl<'r> Decode<'r, Sqlite> for OffsetDateTime
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for PrimitiveDateTime
 
impl<'r> Decode<'r, Sqlite> for PrimitiveDateTime
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for String
 
impl<'r> Decode<'r, Sqlite> for String
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for Time
 
impl<'r> Decode<'r, Sqlite> for Time
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for Vec<u8>
 
impl<'r> Decode<'r, Sqlite> for Vec<u8>
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for bool
 
impl<'r> Decode<'r, Sqlite> for bool
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for f32
 
impl<'r> Decode<'r, Sqlite> for f32
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for f64
 
impl<'r> Decode<'r, Sqlite> for f64
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for i16
 
impl<'r> Decode<'r, Sqlite> for i16
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for i32
 
impl<'r> Decode<'r, Sqlite> for i32
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for i64
 
impl<'r> Decode<'r, Sqlite> for i64
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for i8
 
impl<'r> Decode<'r, Sqlite> for i8
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for u16
 
impl<'r> Decode<'r, Sqlite> for u16
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for u32
 
impl<'r> Decode<'r, Sqlite> for u32
source§fn 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.
source§impl<'r> Decode<'r, Sqlite> for u8
 
impl<'r> Decode<'r, Sqlite> for u8
source§fn 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.
source§impl Encode<'_, Sqlite> for BigDecimal
 
impl Encode<'_, Sqlite> for BigDecimal
source§fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
 
fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl Encode<'_, Sqlite> for Date
 
impl Encode<'_, Sqlite> for Date
source§fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
 
fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<Tz: TimeZone> Encode<'_, Sqlite> for DateTime<Tz>where
    Tz::Offset: Display,
 
impl<Tz: TimeZone> Encode<'_, Sqlite> for DateTime<Tz>where Tz::Offset: Display,
source§fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
 
fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl Encode<'_, Sqlite> for Decimal
 
impl Encode<'_, Sqlite> for Decimal
source§fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
 
fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<T> Encode<'_, Sqlite> for Json<T>where
    T: Serialize,
 
impl<T> Encode<'_, Sqlite> for Json<T>where T: Serialize,
source§fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
 
fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl Encode<'_, Sqlite> for NaiveDate
 
impl Encode<'_, Sqlite> for NaiveDate
source§fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
 
fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl Encode<'_, Sqlite> for NaiveDateTime
 
impl Encode<'_, Sqlite> for NaiveDateTime
source§fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
 
fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl Encode<'_, Sqlite> for NaiveTime
 
impl Encode<'_, Sqlite> for NaiveTime
source§fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
 
fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl Encode<'_, Sqlite> for OffsetDateTime
 
impl Encode<'_, Sqlite> for OffsetDateTime
source§fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
 
fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl Encode<'_, Sqlite> for PrimitiveDateTime
 
impl Encode<'_, Sqlite> for PrimitiveDateTime
source§fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
 
fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl Encode<'_, Sqlite> for Time
 
impl Encode<'_, Sqlite> for Time
source§fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
 
fn encode_by_ref(&self, buf: &mut Vec<SqliteArgumentValue<'_>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<'q> Encode<'q, Sqlite> for &'q [u8]
 
impl<'q> Encode<'q, Sqlite> for &'q [u8]
source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<'q> Encode<'q, Sqlite> for &'q str
 
impl<'q> Encode<'q, Sqlite> for &'q str
source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<'q> Encode<'q, Sqlite> for Cow<'q, str>
 
impl<'q> Encode<'q, Sqlite> for Cow<'q, str>
source§fn 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.source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
source§impl<'q> Encode<'q, Sqlite> for Hyphenated
 
impl<'q> Encode<'q, Sqlite> for Hyphenated
source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<'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>
source§fn 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.source§fn 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
fn size_hint(&self) -> usize
source§impl<'q> Encode<'q, Sqlite> for String
 
impl<'q> Encode<'q, Sqlite> for String
source§fn 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.source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
source§impl<'q> Encode<'q, Sqlite> for Uuid
 
impl<'q> Encode<'q, Sqlite> for Uuid
source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<'q> Encode<'q, Sqlite> for Vec<u8>
 
impl<'q> Encode<'q, Sqlite> for Vec<u8>
source§fn 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.source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
source§impl<'q> Encode<'q, Sqlite> for bool
 
impl<'q> Encode<'q, Sqlite> for bool
source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<'q> Encode<'q, Sqlite> for f32
 
impl<'q> Encode<'q, Sqlite> for f32
source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<'q> Encode<'q, Sqlite> for f64
 
impl<'q> Encode<'q, Sqlite> for f64
source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<'q> Encode<'q, Sqlite> for i16
 
impl<'q> Encode<'q, Sqlite> for i16
source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<'q> Encode<'q, Sqlite> for i32
 
impl<'q> Encode<'q, Sqlite> for i32
source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<'q> Encode<'q, Sqlite> for i64
 
impl<'q> Encode<'q, Sqlite> for i64
source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<'q> Encode<'q, Sqlite> for i8
 
impl<'q> Encode<'q, Sqlite> for i8
source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<'q> Encode<'q, Sqlite> for u16
 
impl<'q> Encode<'q, Sqlite> for u16
source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<'q> Encode<'q, Sqlite> for u32
 
impl<'q> Encode<'q, Sqlite> for u32
source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<'q> Encode<'q, Sqlite> for u8
 
impl<'q> Encode<'q, Sqlite> for u8
source§fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
 
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
    Self: Sized,
 
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere 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
source§impl<'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.
source§impl<'q> HasStatement<'q> for Sqlite
 
impl<'q> HasStatement<'q> for Sqlite
source§impl<'r> HasValueRef<'r> for Sqlite
 
impl<'r> HasValueRef<'r> for Sqlite
source§impl MigrateDatabase for Sqlite
 
impl MigrateDatabase for Sqlite
source§impl TestSupport for Sqlite
 
impl TestSupport for Sqlite
source§fn test_context(
    args: &TestArgs
) -> BoxFuture<'_, Result<TestContext<Self>, Error>>
 
fn test_context( args: &TestArgs ) -> BoxFuture<'_, Result<TestContext<Self>, Error>>
Get parameters to construct a 
Pool suitable for testing. Read morefn cleanup_test(db_name: &str) -> BoxFuture<'_, Result<(), Error>>
source§fn cleanup_test_dbs() -> BoxFuture<'static, Result<Option<usize>, Error>>
 
fn cleanup_test_dbs() -> BoxFuture<'static, Result<Option<usize>, Error>>
Cleanup any test databases that are no longer in-use. Read more
source§fn snapshot(
    _conn: &mut Self::Connection
) -> BoxFuture<'_, Result<FixtureSnapshot<Self>, Error>>
 
fn snapshot( _conn: &mut Self::Connection ) -> BoxFuture<'_, Result<FixtureSnapshot<Self>, Error>>
Take a snapshot of the current state of the database (data only). Read more
source§impl Type<Sqlite> for [u8]
 
impl Type<Sqlite> for [u8]
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for BigDecimal
 
impl Type<Sqlite> for BigDecimal
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for Cow<'_, str>
 
impl Type<Sqlite> for Cow<'_, str>
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for Date
 
impl Type<Sqlite> for Date
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl<Tz: TimeZone> Type<Sqlite> for DateTime<Tz>
 
impl<Tz: TimeZone> Type<Sqlite> for DateTime<Tz>
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for Decimal
 
impl Type<Sqlite> for Decimal
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for Hyphenated
 
impl Type<Sqlite> for Hyphenated
source§impl<T> Type<Sqlite> for Json<T>
 
impl<T> Type<Sqlite> for Json<T>
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for NaiveDate
 
impl Type<Sqlite> for NaiveDate
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for NaiveDateTime
 
impl Type<Sqlite> for NaiveDateTime
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for NaiveTime
 
impl Type<Sqlite> for NaiveTime
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for OffsetDateTime
 
impl Type<Sqlite> for OffsetDateTime
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for PrimitiveDateTime
 
impl Type<Sqlite> for PrimitiveDateTime
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for Time
 
impl Type<Sqlite> for Time
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for Uuid
 
impl Type<Sqlite> for Uuid
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for Vec<u8>
 
impl Type<Sqlite> for Vec<u8>
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for bool
 
impl Type<Sqlite> for bool
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for i16
 
impl Type<Sqlite> for i16
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for i32
 
impl Type<Sqlite> for i32
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for i64
 
impl Type<Sqlite> for i64
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for i8
 
impl Type<Sqlite> for i8
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for u16
 
impl Type<Sqlite> for u16
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for u32
 
impl Type<Sqlite> for u32
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn compatible(ty: &SqliteTypeInfo) -> bool
 
fn compatible(ty: &SqliteTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
source§impl Type<Sqlite> for u8
 
impl Type<Sqlite> for u8
source§fn type_info() -> SqliteTypeInfo
 
fn type_info() -> SqliteTypeInfo
Returns the canonical SQL type for this Rust type. Read more
source§fn 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§
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