pub struct Sqlite;Available on crate feature
_sqlite only.Expand description
Sqlite database driver.
Trait Implementationsยง
Sourceยงimpl Database for Sqlite
impl Database for Sqlite
Sourceยงconst URL_SCHEMES: &'static [&'static str]
const URL_SCHEMES: &'static [&'static str]
The schemes for database URLs that should match this driver.
Sourceยงtype Connection = SqliteConnection
type Connection = SqliteConnection
The concrete
Connection implementation for this database.Sourceยงtype TransactionManager = SqliteTransactionManager
type TransactionManager = SqliteTransactionManager
The concrete
TransactionManager implementation for this database.Sourceยงtype QueryResult = SqliteQueryResult
type QueryResult = SqliteQueryResult
The concrete
QueryResult implementation for this database.Sourceยงtype Column = SqliteColumn
type Column = SqliteColumn
The concrete
Column implementation for this database.Sourceยงtype TypeInfo = SqliteTypeInfo
type TypeInfo = SqliteTypeInfo
The concrete
TypeInfo implementation for this database.Sourceยง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ยงtype ValueRef<'r> = SqliteValueRef<'r>
type ValueRef<'r> = SqliteValueRef<'r>
The concrete type used to hold a reference to the not-yet-decoded value that has just been
received from the database.
Sourceยงtype Arguments = SqliteArguments
type Arguments = SqliteArguments
The concrete
Arguments implementation for this database.Sourceยงtype ArgumentBuffer = SqliteArgumentsBuffer
type ArgumentBuffer = SqliteArgumentsBuffer
The concrete type used as a buffer for arguments while encoding.
Sourceยงtype Statement = SqliteStatement
type Statement = SqliteStatement
The concrete
Statement implementation for this database.Sourceยงimpl Decode<'_, Sqlite> for Hyphenated
impl Decode<'_, Sqlite> for Hyphenated
Sourceยงfn decode(
value: SqliteValueRef<'_>,
) -> Result<Hyphenated, Box<dyn Error + Send + Sync>>
fn decode( value: SqliteValueRef<'_>, ) -> Result<Hyphenated, Box<dyn Error + Send + Sync>>
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<NaiveDateTime, Box<dyn Error + Send + Sync>>
fn decode( value: SqliteValueRef<'r>, ) -> Result<NaiveDateTime, Box<dyn Error + Send + Sync>>
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<OffsetDateTime, Box<dyn Error + Send + Sync>>
fn decode( value: SqliteValueRef<'r>, ) -> Result<OffsetDateTime, Box<dyn Error + Send + Sync>>
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<PrimitiveDateTime, Box<dyn Error + Send + Sync>>
fn decode( value: SqliteValueRef<'r>, ) -> Result<PrimitiveDateTime, Box<dyn Error + Send + Sync>>
Decode a new value of this type using a raw value from the database.
Sourceยงimpl Encode<'_, Sqlite> for &[u8]
impl Encode<'_, Sqlite> for &[u8]
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for &str
impl Encode<'_, Sqlite> for &str
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for Arc<[u8]>
impl Encode<'_, Sqlite> for Arc<[u8]>
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for Arc<str>
impl Encode<'_, Sqlite> for Arc<str>
Sourceยงfn encode(
self,
args: &mut <Sqlite as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode( self, args: &mut <Sqlite as Database>::ArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Writes the value of
self into buf in the expected format for the database.Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Sourceยงimpl Encode<'_, Sqlite> for Box<[u8]>
impl Encode<'_, Sqlite> for Box<[u8]>
Sourceยงfn encode(
self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode( self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Writes the value of
self into buf in the expected format for the database.Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Sourceยงimpl Encode<'_, Sqlite> for Box<str>
impl Encode<'_, Sqlite> for Box<str>
Sourceยงfn encode(
self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode( self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Writes the value of
self into buf in the expected format for the database.Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Sourceยงimpl Encode<'_, Sqlite> for Cow<'_, [u8]>
impl Encode<'_, Sqlite> for Cow<'_, [u8]>
Sourceยงfn encode(
self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode( self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Writes the value of
self into buf in the expected format for the database.Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Sourceยงimpl Encode<'_, Sqlite> for Cow<'_, str>
impl Encode<'_, Sqlite> for Cow<'_, str>
Sourceยงfn encode(
self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode( self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Writes the value of
self into buf in the expected format for the database.Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn produces(&self) -> Option<<DB as Database>::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 SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, buf: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl<Tz> Encode<'_, Sqlite> for DateTime<Tz>
impl<Tz> Encode<'_, Sqlite> for DateTime<Tz>
Sourceยงfn encode_by_ref(
&self,
buf: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, buf: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for Hyphenated
impl Encode<'_, Sqlite> for Hyphenated
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
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 SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, buf: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for NaiveDate
impl Encode<'_, Sqlite> for NaiveDate
Sourceยงfn encode_by_ref(
&self,
buf: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, buf: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for NaiveDateTime
impl Encode<'_, Sqlite> for NaiveDateTime
Sourceยงfn encode_by_ref(
&self,
buf: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, buf: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for NaiveTime
impl Encode<'_, Sqlite> for NaiveTime
Sourceยงfn encode_by_ref(
&self,
buf: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, buf: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for OffsetDateTime
impl Encode<'_, Sqlite> for OffsetDateTime
Sourceยงfn encode_by_ref(
&self,
buf: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, buf: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for PrimitiveDateTime
impl Encode<'_, Sqlite> for PrimitiveDateTime
Sourceยงfn encode_by_ref(
&self,
buf: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, buf: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for Rc<[u8]>
impl Encode<'_, Sqlite> for Rc<[u8]>
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for Rc<str>
impl Encode<'_, Sqlite> for Rc<str>
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for Simple
impl Encode<'_, Sqlite> for Simple
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for String
impl Encode<'_, Sqlite> for String
Sourceยงfn encode(
self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode( self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Writes the value of
self into buf in the expected format for the database.Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Sourceยงimpl<T> Encode<'_, Sqlite> for Text<T>where
T: Display,
impl<T> Encode<'_, Sqlite> for Text<T>where
T: Display,
Sourceยงfn encode_by_ref(
&self,
buf: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, buf: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for Time
impl Encode<'_, Sqlite> for Time
Sourceยงfn encode_by_ref(
&self,
buf: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, buf: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for Uuid
impl Encode<'_, Sqlite> for Uuid
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for Vec<u8>
impl Encode<'_, Sqlite> for Vec<u8>
Sourceยงfn encode(
self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode( self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Writes the value of
self into buf in the expected format for the database.Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
Sourceยงimpl Encode<'_, Sqlite> for bool
impl Encode<'_, Sqlite> for bool
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for f32
impl Encode<'_, Sqlite> for f32
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for f64
impl Encode<'_, Sqlite> for f64
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for i16
impl Encode<'_, Sqlite> for i16
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for i32
impl Encode<'_, Sqlite> for i32
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for i64
impl Encode<'_, Sqlite> for i64
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for i8
impl Encode<'_, Sqlite> for i8
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for u16
impl Encode<'_, Sqlite> for u16
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for u32
impl Encode<'_, Sqlite> for u32
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl Encode<'_, Sqlite> for u8
impl Encode<'_, Sqlite> for u8
Sourceยงfn encode_by_ref(
&self,
args: &mut SqliteArgumentsBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, args: &mut SqliteArgumentsBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Sourceยงfn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
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
Sourceยงimpl<'q, T> Encode<'q, Sqlite> for Option<T>
impl<'q, T> Encode<'q, Sqlite> for Option<T>
fn produces(&self) -> Option<<Sqlite as Database>::TypeInfo>
Sourceยงfn encode(
self,
buf: &mut <Sqlite as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode( self, buf: &mut <Sqlite as Database>::ArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
Writes the value of
self into buf in the expected format for the database.Sourceยงfn encode_by_ref(
&self,
buf: &mut <Sqlite as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn encode_by_ref( &self, buf: &mut <Sqlite as Database>::ArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
fn size_hint(&self) -> usize
Sourceยงimpl MigrateDatabase for Sqlite
impl MigrateDatabase for Sqlite
Sourceยงimpl TestSupport for Sqlite
impl TestSupport for Sqlite
Sourceยงfn test_context(
args: &TestArgs,
) -> impl Future<Output = Result<TestContext<Sqlite>, Error>> + Send
fn test_context( args: &TestArgs, ) -> impl Future<Output = Result<TestContext<Sqlite>, Error>> + Send
Get parameters to construct a
Pool suitable for testing. Read moreasync fn cleanup_test(db_name: &str) -> Result<(), Error>
Sourceยงasync fn cleanup_test_dbs() -> Result<Option<usize>, Error>
async fn cleanup_test_dbs() -> Result<Option<usize>, Error>
Cleanup any test databases that are no longer in-use. 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 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> Type<Sqlite> for DateTime<Tz>where
Tz: TimeZone,
impl<Tz> Type<Sqlite> for DateTime<Tz>where
Tz: TimeZone,
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<T> Type<Sqlite> for Text<T>
impl<T> Type<Sqlite> for Text<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 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 u64
impl Type<Sqlite> for u64
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
Sourceยงimpl TypeChecking for Sqlite
impl TypeChecking for Sqlite
Sourceยงconst PARAM_CHECKING: ParamChecking = ::sqlx_core::type_checking::ParamChecking::Weak
const PARAM_CHECKING: ParamChecking = ::sqlx_core::type_checking::ParamChecking::Weak
Describes how the database in question typechecks query parameters.
Sourceยงfn param_type_for_id(
info: &<Sqlite as Database>::TypeInfo,
preferred_crates: &PreferredCrates,
) -> Result<&'static str, Error>
fn param_type_for_id( info: &<Sqlite as Database>::TypeInfo, preferred_crates: &PreferredCrates, ) -> Result<&'static str, Error>
Get the full path of the Rust type that corresponds to the given
TypeInfo, if applicable. Read moreSourceยงfn return_type_for_id(
info: &<Sqlite as Database>::TypeInfo,
preferred_crates: &PreferredCrates,
) -> Result<&'static str, Error>
fn return_type_for_id( info: &<Sqlite as Database>::TypeInfo, preferred_crates: &PreferredCrates, ) -> Result<&'static str, Error>
Get the full path of the Rust type that corresponds to the given
TypeInfo, if applicable. Read moreimpl HasStatementCache for Sqlite
Auto Trait Implementationsยง
impl Freeze for Sqlite
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
Sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self> โ
fn into_either(self, into_left: bool) -> Either<Self, Self> โ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more