Struct Exasol

Source
pub struct Exasol;
Expand description

Implementor of Database.

Trait Implementations§

Source§

impl Clone for Exasol

Source§

fn clone(&self) -> Exasol

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Database for Exasol

Source§

const NAME: &'static str = "Exasol"

The display name for this database driver.
Source§

const URL_SCHEMES: &'static [&'static str]

The schemes for database URLs that should match this driver.
Source§

type Connection = ExaConnection

The concrete Connection implementation for this database.
Source§

type TransactionManager = ExaTransactionManager

The concrete TransactionManager implementation for this database.
Source§

type Row = ExaRow

The concrete Row implementation for this database.
Source§

type QueryResult = ExaQueryResult

The concrete QueryResult implementation for this database.
Source§

type Column = ExaColumn

The concrete Column implementation for this database.
Source§

type TypeInfo = ExaTypeInfo

The concrete TypeInfo implementation for this database.
Source§

type Value = ExaValue

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> = ExaValueRef<'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<'q> = ExaArguments

The concrete Arguments implementation for this database.
Source§

type ArgumentBuffer<'q> = ExaBuffer

The concrete type used as a buffer for arguments while encoding.
Source§

type Statement<'q> = ExaStatement<'q>

The concrete Statement implementation for this database.
Source§

impl Debug for Exasol

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Decode<'_, Exasol> for Decimal

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for NaiveDate

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for NaiveDateTime

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for String

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for Uuid

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for bool

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for f32

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for f64

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for i128

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for i16

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for i32

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for i64

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for i8

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for u128

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for u16

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for u32

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for u64

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl Decode<'_, Exasol> for u8

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Exasol> for &'r str

Source§

fn decode(value: ExaValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Exasol> for Cow<'r, str>

Source§

fn decode(value: ExaValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Exasol> for DateTime<Local>

Source§

fn decode(value: ExaValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Exasol> for DateTime<Utc>

Source§

fn decode(value: ExaValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Exasol> for Months

Source§

fn decode(value: ExaValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r, T> Decode<'r, Exasol> for Text<T>
where for<'a> T: TryFrom<&'a str>, for<'a> BoxDynError: From<<T as TryFrom<&'a str>>::Error>,

Source§

fn decode(value: ExaValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<'r> Decode<'r, Exasol> for Duration

Source§

fn decode(value: ExaValueRef<'r>) -> Result<Self, BoxDynError>

Decode a new value of this type using a raw value from the database.
Source§

impl<T> Encode<'_, Exasol> for &[T]
where for<'q> T: Encode<'q, Exasol> + Type<Exasol>,

Source§

fn produces(&self) -> Option<<Exasol as Database>::TypeInfo>

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl<T> Encode<'_, Exasol> for &mut [T]
where for<'q> T: Encode<'q, Exasol> + Type<Exasol>,

Source§

fn produces(&self) -> Option<<Exasol as Database>::TypeInfo>

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for &str

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl<T, const N: usize> Encode<'_, Exasol> for [T; N]
where for<'q> T: Encode<'q, Exasol> + Type<Exasol>,

Source§

fn produces(&self) -> Option<<Exasol as Database>::TypeInfo>

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl<T> Encode<'_, Exasol> for Box<[T]>
where for<'q> T: Encode<'q, Exasol> + Type<Exasol>,

Source§

fn produces(&self) -> Option<<Exasol as Database>::TypeInfo>

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for Cow<'_, str>

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for DateTime<Local>

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for DateTime<Utc>

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for Decimal

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl<T, I> Encode<'_, Exasol> for ExaIter<I, T>
where I: IntoIterator<Item = T> + Clone, for<'q> T: Encode<'q, Exasol> + Type<Exasol>,

Source§

fn produces(&self) -> Option<<Exasol as Database>::TypeInfo>

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for Months

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for NaiveDate

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for NaiveDateTime

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl<T> Encode<'_, Exasol> for Option<T>
where for<'q> T: Encode<'q, Exasol> + Type<Exasol>,

Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn encode(self, buf: &mut ExaBuffer) -> 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 ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Exasol> for String

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for Duration

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for Uuid

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl<T> Encode<'_, Exasol> for Vec<T>
where for<'q> T: Encode<'q, Exasol> + Type<Exasol>,

Source§

fn produces(&self) -> Option<<Exasol as Database>::TypeInfo>

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for bool

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for f32

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Exasol> for f64

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Exasol> for i128

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for i16

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for i32

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for i64

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for i8

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for u128

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for u16

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for u32

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for u64

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl Encode<'_, Exasol> for u8

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn produces(&self) -> Option<ExaTypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

impl<'q, T> Encode<'q, Exasol> for Text<T>
where T: Display,

Source§

fn encode_by_ref(&self, buf: &mut ExaBuffer) -> Result<IsNull, BoxDynError>

Writes the value of self into buf without moving self. Read more
Source§

fn encode( self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, Box<dyn Error + Send + Sync>>
where Self: Sized,

Writes the value of self into buf in the expected format for the database.
Source§

fn produces(&self) -> Option<<DB as Database>::TypeInfo>

Source§

fn size_hint(&self) -> usize

Source§

impl MigrateDatabase for Exasol

Source§

impl TestSupport for Exasol

Source§

fn test_context( args: &TestArgs, ) -> BoxFuture<'_, Result<TestContext<Self>, Error>>

Get parameters to construct a Pool suitable for testing. Read more
Source§

fn cleanup_test(db_name: &str) -> BoxFuture<'_, Result<(), Error>>

Source§

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>>

Take a snapshot of the current state of the database (data only). Read more
Source§

fn db_name(args: &TestArgs) -> String

Generate a unique database name for the given test path.
Source§

impl<'a, T> Type<Exasol> for &'a [T]
where T: Type<Exasol> + 'a,

Source§

fn type_info() -> <Exasol as Database>::TypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<Exasol as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<'a, T> Type<Exasol> for &'a mut [T]
where T: Type<Exasol> + 'a,

Source§

fn type_info() -> <Exasol as Database>::TypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<Exasol as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T, const N: usize> Type<Exasol> for [T; N]
where T: Type<Exasol>,

Source§

fn type_info() -> <Exasol as Database>::TypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<Exasol as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T> Type<Exasol> for Box<[T]>
where T: Type<Exasol>,

Source§

fn type_info() -> <Exasol as Database>::TypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<Exasol as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for Cow<'_, str>

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for DateTime<Local>

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for DateTime<Utc>

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for Decimal

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T, I> Type<Exasol> for ExaIter<I, T>
where I: IntoIterator<Item = T> + Clone, for<'q> T: Encode<'q, Exasol> + Type<Exasol>,

Source§

fn type_info() -> <Exasol as Database>::TypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<Exasol as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for Months

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for NaiveDate

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for NaiveDateTime

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for String

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T> Type<Exasol> for Text<T>

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for Duration

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for Uuid

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl<T> Type<Exasol> for Vec<T>
where T: Type<Exasol>,

Source§

fn type_info() -> <Exasol as Database>::TypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<Exasol as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for bool

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &<DB as Database>::TypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for f32

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for f64

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for i128

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for i16

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for i32

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for i64

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for i8

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for str

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for u128

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for u16

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for u32

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for u64

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Type<Exasol> for u8

Source§

fn type_info() -> ExaTypeInfo

Returns the canonical SQL type for this Rust type. Read more
Source§

fn compatible(ty: &ExaTypeInfo) -> bool

Determines if this Rust type is compatible with the given SQL type. Read more
Source§

impl Copy for Exasol

Source§

impl HasStatementCache for Exasol

Auto Trait Implementations§

§

impl Freeze for Exasol

§

impl RefUnwindSafe for Exasol

§

impl Send for Exasol

§

impl Sync for Exasol

§

impl Unpin for Exasol

§

impl UnwindSafe for Exasol

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,