Exasol

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

The concrete Arguments implementation for this database.
Source§

type ArgumentBuffer = ExaBuffer

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

type Statement = ExaStatement

The concrete Statement implementation for this database.
Source§

impl Debug for Exasol

Source§

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

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

impl Decode<'_, Exasol> for BigDecimal

Source§

fn decode( value: ExaValueRef<'_>, ) -> Result<BigDecimal, Box<dyn Error + Sync + Send>>

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

impl Decode<'_, Exasol> for Date

Source§

fn decode(value: ExaValueRef<'_>) -> Result<Date, Box<dyn Error + Sync + Send>>

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

impl Decode<'_, Exasol> for Decimal

Source§

fn decode( value: ExaValueRef<'_>, ) -> Result<Decimal, Box<dyn Error + Sync + Send>>

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

impl<T> Decode<'_, Exasol> for Geometry<T>
where T: CoordNum + FromStr + Default,

Source§

fn decode( value: ExaValueRef<'_>, ) -> Result<Geometry<T>, Box<dyn Error + Sync + Send>>

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<NaiveDate, Box<dyn Error + Sync + Send>>

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<NaiveDateTime, Box<dyn Error + Sync + Send>>

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

impl Decode<'_, Exasol> for PrimitiveDateTime

Source§

fn decode( value: ExaValueRef<'_>, ) -> Result<PrimitiveDateTime, Box<dyn Error + Sync + Send>>

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<String, Box<dyn Error + Sync + Send>>

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<Uuid, Box<dyn Error + Sync + Send>>

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<bool, Box<dyn Error + Sync + Send>>

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<f64, Box<dyn Error + Sync + Send>>

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<i16, Box<dyn Error + Sync + Send>>

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<i32, Box<dyn Error + Sync + Send>>

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<i64, Box<dyn Error + Sync + Send>>

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<i8, Box<dyn Error + Sync + Send>>

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<&'r str, Box<dyn Error + Sync + Send>>

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<DateTime<Local>, Box<dyn Error + Sync + Send>>

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<DateTime<Utc>, Box<dyn Error + Sync + Send>>

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<Duration, Box<dyn Error + Sync + Send>>

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

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

Source§

fn decode( value: ExaValueRef<'r>, ) -> Result<ExaIntervalYearToMonth, Box<dyn Error + Sync + Send>>

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

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

Source§

fn decode( value: ExaValueRef<'r>, ) -> Result<HashType, Box<dyn Error + Sync + Send>>

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

impl<'r, T> Decode<'r, Exasol> for Json<T>
where T: 'r + Deserialize<'r>,

Source§

fn decode( value: ExaValueRef<'r>, ) -> Result<Json<T>, Box<dyn Error + Sync + Send>>

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

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

Source§

fn decode( value: ExaValueRef<'r>, ) -> Result<OffsetDateTime, Box<dyn Error + Sync + Send>>

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 T: for<'a> TryFrom<&'a str>, Box<dyn Error + Sync + Send>: for<'a> From<<T as TryFrom<&'a str>>::Error>,

Source§

fn decode( value: ExaValueRef<'r>, ) -> Result<Text<T>, Box<dyn Error + Sync + Send>>

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

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

Source§

fn decode( value: ExaValueRef<'r>, ) -> Result<TimeDelta, Box<dyn Error + Sync + Send>>

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

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

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl Encode<'_, Exasol> for &str

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

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

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

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

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl Encode<'_, Exasol> for BigDecimal

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

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

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl Encode<'_, Exasol> for Date

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

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

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

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

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl Encode<'_, Exasol> for Decimal

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl Encode<'_, Exasol> for Duration

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl Encode<'_, Exasol> for ExaIntervalYearToMonth

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

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

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl<T> Encode<'_, Exasol> for Geometry<T>
where T: CoordNum + Display,

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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

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

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

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Exasol> for HashType

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl<T> Encode<'_, Exasol> for Json<T>
where T: Serialize,

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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

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

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

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Exasol> for NaiveDate

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl Encode<'_, Exasol> for NaiveDateTime

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl Encode<'_, Exasol> for OffsetDateTime

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

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

Source§

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

Source§

fn encode( self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, Box<dyn Error + Sync + Send>>

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

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Exasol> for PrimitiveDateTime

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

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

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

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

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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

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

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

Source§

fn size_hint(&self) -> usize

Source§

impl Encode<'_, Exasol> for TimeDelta

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl Encode<'_, Exasol> for Uuid

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

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

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl Encode<'_, Exasol> for bool

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl Encode<'_, Exasol> for f64

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl Encode<'_, Exasol> for i16

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl Encode<'_, Exasol> for i32

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl Encode<'_, Exasol> for i64

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl Encode<'_, Exasol> for i8

Source§

fn encode_by_ref( &self, buf: &mut ExaBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>
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§

impl<'q> Encode<'q, Exasol> for Arc<str>

Source§

fn encode_by_ref( &self, buf: &mut <Exasol as Database>::ArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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

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

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

Source§

fn size_hint(&self) -> usize

Source§

impl<'q> Encode<'q, Exasol> for Box<str>

Source§

fn encode_by_ref( &self, buf: &mut <Exasol as Database>::ArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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

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

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

Source§

fn size_hint(&self) -> usize

Source§

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

Source§

fn encode_by_ref( &self, buf: &mut <Exasol as Database>::ArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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

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

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

Source§

fn size_hint(&self) -> usize

Source§

impl<'q> Encode<'q, Exasol> for Rc<str>

Source§

fn encode_by_ref( &self, buf: &mut <Exasol as Database>::ArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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

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

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

Source§

fn size_hint(&self) -> usize

Source§

impl<'q> Encode<'q, Exasol> for String

Source§

fn encode_by_ref( &self, buf: &mut <Exasol as Database>::ArgumentBuffer, ) -> Result<IsNull, Box<dyn Error + Sync + Send>>

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

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

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

Source§

fn size_hint(&self) -> usize

Source§

impl MigrateDatabase for Exasol

Source§

async fn create_database(url: &str) -> Result<(), Error>

Source§

async fn database_exists(url: &str) -> Result<bool, Error>

Source§

async fn drop_database(url: &str) -> Result<(), Error>

Source§

fn force_drop_database( _url: &str, ) -> impl Future<Output = Result<(), Error>> + Send

Source§

impl TestSupport for Exasol

Source§

async fn test_context(args: &TestArgs) -> Result<TestContext<Exasol>, Error>

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

async fn cleanup_test(db_name: &str) -> Result<(), Error>

Source§

async fn cleanup_test_dbs() -> Result<Option<usize>, Error>

Cleanup any test databases that are no longer in-use. Read more
Source§

async fn snapshot( _conn: &mut <Exasol as Database>::Connection, ) -> Result<FixtureSnapshot<Exasol>, 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<T> Type<Exasol> for [T]
where T: ExaHasArrayType,

Source§

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

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<T, const N: usize> Type<Exasol> for [T; N]
where T: ExaHasArrayType,

Source§

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

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 BigDecimal

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 Date

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<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: &<DB as Database>::TypeInfo) -> 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: &<DB as Database>::TypeInfo) -> bool

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

impl Type<Exasol> for ExaIntervalYearToMonth

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<I, T> Type<Exasol> for ExaIter<I, T>
where I: IntoIterator<Item = T> + Clone, T: ExaHasArrayType + Copy,

Source§

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

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<T> Type<Exasol> for Geometry<T>
where T: CoordNum,

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 HashType

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<T> Type<Exasol> for Json<T>

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

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 PrimitiveDateTime

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: &<DB as Database>::TypeInfo) -> 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: &<DB as Database>::TypeInfo) -> bool

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

impl Type<Exasol> for TimeDelta

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 Uuid

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<T> Type<Exasol> for Vec<T>
where T: ExaHasArrayType,

Source§

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

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

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 i16

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 i32

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 i64

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 i8

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 str

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