pub struct Odbc;Expand description
ODBC database marker for SQLx-core traits.
Trait Implementations§
Source§impl Database for Odbc
impl Database for Odbc
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 = OdbcConnection
type Connection = OdbcConnection
The concrete
Connection implementation for this database.Source§type TransactionManager = OdbcTransactionManager
type TransactionManager = OdbcTransactionManager
The concrete
TransactionManager implementation for this database.Source§type QueryResult = OdbcQueryResult
type QueryResult = OdbcQueryResult
The concrete
QueryResult implementation for this database.Source§type Column = OdbcColumn
type Column = OdbcColumn
The concrete
Column implementation for this database.Source§type TypeInfo = OdbcTypeInfo
type TypeInfo = OdbcTypeInfo
The concrete
TypeInfo implementation for this database.Source§type Value = OdbcValue
type Value = OdbcValue
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> = OdbcValueRef<'r>
type ValueRef<'r> = OdbcValueRef<'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 = OdbcArguments
type Arguments = OdbcArguments
The concrete
Arguments implementation for this database.Source§type ArgumentBuffer = Vec<OdbcArgumentValue>
type ArgumentBuffer = Vec<OdbcArgumentValue>
The concrete type used as a buffer for arguments while encoding.
Source§type Statement = OdbcStatement
type Statement = OdbcStatement
The concrete
Statement implementation for this database.Source§impl<'r> Decode<'r, Odbc> for &'r [u8]
impl<'r> Decode<'r, Odbc> for &'r [u8]
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for &'r str
impl<'r> Decode<'r, Odbc> for &'r str
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for Date
impl<'r> Decode<'r, Odbc> for Date
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for String
impl<'r> Decode<'r, Odbc> for String
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for Time
impl<'r> Decode<'r, Odbc> for Time
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for Timestamp
impl<'r> Decode<'r, Odbc> for Timestamp
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for Vec<u8>
impl<'r> Decode<'r, Odbc> for Vec<u8>
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for bool
impl<'r> Decode<'r, Odbc> for bool
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for f32
impl<'r> Decode<'r, Odbc> for f32
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for f64
impl<'r> Decode<'r, Odbc> for f64
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for i16
impl<'r> Decode<'r, Odbc> for i16
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for i32
impl<'r> Decode<'r, Odbc> for i32
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for i64
impl<'r> Decode<'r, Odbc> for i64
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for i8
impl<'r> Decode<'r, Odbc> for i8
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for u16
impl<'r> Decode<'r, Odbc> for u16
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for u32
impl<'r> Decode<'r, Odbc> for u32
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for u64
impl<'r> Decode<'r, Odbc> for u64
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'r> Decode<'r, Odbc> for u8
impl<'r> Decode<'r, Odbc> for u8
Source§fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
fn decode(value: OdbcValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
Source§impl<'q> Encode<'q, Odbc> for &'q [u8]
impl<'q> Encode<'q, Odbc> for &'q [u8]
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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> Encode<'q, Odbc> for &'q str
impl<'q> Encode<'q, Odbc> for &'q str
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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> Encode<'q, Odbc> for Date
impl<'q> Encode<'q, Odbc> for Date
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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, Odbc> for Option<T>
impl<'q, T> Encode<'q, Odbc> for Option<T>
Source§fn encode(self, buf: &mut Vec<OdbcArgumentValue>) -> Result<IsNull, BoxDynError>
fn encode(self, buf: &mut Vec<OdbcArgumentValue>) -> Result<IsNull, BoxDynError>
Writes the value of
self into buf in the expected format for the database.Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
fn produces(&self) -> Option<OdbcTypeInfo>
fn size_hint(&self) -> usize
Source§impl<'q> Encode<'q, Odbc> for String
impl<'q> Encode<'q, Odbc> for String
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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> Encode<'q, Odbc> for Time
impl<'q> Encode<'q, Odbc> for Time
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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> Encode<'q, Odbc> for Timestamp
impl<'q> Encode<'q, Odbc> for Timestamp
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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> Encode<'q, Odbc> for Vec<u8>
impl<'q> Encode<'q, Odbc> for Vec<u8>
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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> Encode<'q, Odbc> for bool
impl<'q> Encode<'q, Odbc> for bool
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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> Encode<'q, Odbc> for f32
impl<'q> Encode<'q, Odbc> for f32
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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> Encode<'q, Odbc> for f64
impl<'q> Encode<'q, Odbc> for f64
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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> Encode<'q, Odbc> for i16
impl<'q> Encode<'q, Odbc> for i16
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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> Encode<'q, Odbc> for i32
impl<'q> Encode<'q, Odbc> for i32
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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> Encode<'q, Odbc> for i64
impl<'q> Encode<'q, Odbc> for i64
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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> Encode<'q, Odbc> for i8
impl<'q> Encode<'q, Odbc> for i8
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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> Encode<'q, Odbc> for u16
impl<'q> Encode<'q, Odbc> for u16
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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> Encode<'q, Odbc> for u32
impl<'q> Encode<'q, Odbc> for u32
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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> Encode<'q, Odbc> for u64
impl<'q> Encode<'q, Odbc> for u64
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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> Encode<'q, Odbc> for u8
impl<'q> Encode<'q, Odbc> for u8
Source§fn encode_by_ref(
&self,
buf: &mut Vec<OdbcArgumentValue>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut Vec<OdbcArgumentValue>, ) -> Result<IsNull, BoxDynError>
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer,
) -> Result<IsNull, Box<dyn Error + Sync + Send>>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 Type<Odbc> for [u8]
impl Type<Odbc> for [u8]
Source§fn type_info() -> OdbcTypeInfo
fn type_info() -> OdbcTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &OdbcTypeInfo) -> bool
fn compatible(ty: &OdbcTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Odbc> for Date
impl Type<Odbc> for Date
Source§fn type_info() -> OdbcTypeInfo
fn type_info() -> OdbcTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &OdbcTypeInfo) -> bool
fn compatible(ty: &OdbcTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Odbc> for Time
impl Type<Odbc> for Time
Source§fn type_info() -> OdbcTypeInfo
fn type_info() -> OdbcTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &OdbcTypeInfo) -> bool
fn compatible(ty: &OdbcTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Odbc> for Timestamp
impl Type<Odbc> for Timestamp
Source§fn type_info() -> OdbcTypeInfo
fn type_info() -> OdbcTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &OdbcTypeInfo) -> bool
fn compatible(ty: &OdbcTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Odbc> for bool
impl Type<Odbc> for bool
Source§fn type_info() -> OdbcTypeInfo
fn type_info() -> OdbcTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &OdbcTypeInfo) -> bool
fn compatible(ty: &OdbcTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Odbc> for f32
impl Type<Odbc> for f32
Source§fn type_info() -> OdbcTypeInfo
fn type_info() -> OdbcTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &OdbcTypeInfo) -> bool
fn compatible(ty: &OdbcTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Odbc> for f64
impl Type<Odbc> for f64
Source§fn type_info() -> OdbcTypeInfo
fn type_info() -> OdbcTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &OdbcTypeInfo) -> bool
fn compatible(ty: &OdbcTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Odbc> for i16
impl Type<Odbc> for i16
Source§fn type_info() -> OdbcTypeInfo
fn type_info() -> OdbcTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &OdbcTypeInfo) -> bool
fn compatible(ty: &OdbcTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Odbc> for i32
impl Type<Odbc> for i32
Source§fn type_info() -> OdbcTypeInfo
fn type_info() -> OdbcTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &OdbcTypeInfo) -> bool
fn compatible(ty: &OdbcTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Odbc> for i64
impl Type<Odbc> for i64
Source§fn type_info() -> OdbcTypeInfo
fn type_info() -> OdbcTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &OdbcTypeInfo) -> bool
fn compatible(ty: &OdbcTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Odbc> for i8
impl Type<Odbc> for i8
Source§fn type_info() -> OdbcTypeInfo
fn type_info() -> OdbcTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &OdbcTypeInfo) -> bool
fn compatible(ty: &OdbcTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Odbc> for str
impl Type<Odbc> for str
Source§fn type_info() -> OdbcTypeInfo
fn type_info() -> OdbcTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &OdbcTypeInfo) -> bool
fn compatible(ty: &OdbcTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Odbc> for u16
impl Type<Odbc> for u16
Source§fn type_info() -> OdbcTypeInfo
fn type_info() -> OdbcTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &OdbcTypeInfo) -> bool
fn compatible(ty: &OdbcTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Source§impl Type<Odbc> for u32
impl Type<Odbc> for u32
Source§fn type_info() -> OdbcTypeInfo
fn type_info() -> OdbcTypeInfo
Returns the canonical SQL type for this Rust type. Read more
Source§fn compatible(ty: &OdbcTypeInfo) -> bool
fn compatible(ty: &OdbcTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
Auto Trait Implementations§
impl Freeze for Odbc
impl RefUnwindSafe for Odbc
impl Send for Odbc
impl Sync for Odbc
impl Unpin for Odbc
impl UnsafeUnpin for Odbc
impl UnwindSafe for Odbc
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