[][src]Struct sqlx::Any

pub struct Any;

Opaque database driver. Capable of being used in place of any SQLx database driver. The actual driver used will be selected at runtime, from the connection uri.

Trait Implementations

impl Database for Any[src]

type Connection = AnyConnection

The concrete Connection implementation for this database.

type TransactionManager = AnyTransactionManager

The concrete TransactionManager implementation for this database.

type Row = AnyRow

The concrete Row implementation for this database.

type Done = AnyDone

The concrete Done implementation for this database.

type Column = AnyColumn

The concrete Column implementation for this database.

type TypeInfo = AnyTypeInfo

The concrete TypeInfo implementation for this database.

type Value = AnyValue

The concrete type used to hold an owned copy of the not-yet-decoded value that was received from the database. Read more

impl Debug for Any[src]

impl<'r> Decode<'r, Any> for &'r str where
    &'r str: AnyDecode<'r>, 
[src]

impl<'r> Decode<'r, Any> for bool where
    bool: AnyDecode<'r>, 
[src]

impl<'r> Decode<'r, Any> for f64 where
    f64: AnyDecode<'r>, 
[src]

impl<'r> Decode<'r, Any> for i64 where
    i64: AnyDecode<'r>, 
[src]

impl<'r> Decode<'r, Any> for i32 where
    i32: AnyDecode<'r>, 
[src]

impl<'r> Decode<'r, Any> for f32 where
    f32: AnyDecode<'r>, 
[src]

impl<'r> Decode<'r, Any> for String where
    String: AnyDecode<'r>, 
[src]

impl<'q> Encode<'q, Any> for &'q str where
    &'q str: AnyEncode<'q>, 
[src]

impl<'q> Encode<'q, Any> for i64 where
    i64: AnyEncode<'q>, 
[src]

impl<'q> Encode<'q, Any> for i32 where
    i32: AnyEncode<'q>, 
[src]

impl<'q, T> Encode<'q, Any> for Option<T> where
    T: Encode<'q, Any> + Type<Any> + 'q, 
[src]

impl<'q> Encode<'q, Any> for f64 where
    f64: AnyEncode<'q>, 
[src]

impl<'q> Encode<'q, Any> for bool where
    bool: AnyEncode<'q>, 
[src]

impl<'q> Encode<'q, Any> for f32 where
    f32: AnyEncode<'q>, 
[src]

impl<'q> Encode<'q, Any> for String where
    String: AnyEncode<'q>, 
[src]

impl<'q> HasArguments<'q> for Any[src]

type Database = Any

type Arguments = AnyArguments<'q>

The concrete Arguments implementation for this database.

type ArgumentBuffer = AnyArgumentBuffer<'q>

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

impl<'q> HasStatement<'q> for Any[src]

type Database = Any

type Statement = AnyStatement<'q>

The concrete Statement implementation for this database.

impl HasStatementCache for Any[src]

impl<'r> HasValueRef<'r> for Any[src]

type Database = Any

type ValueRef = AnyValueRef<'r>

The concrete type used to hold a reference to the not-yet-decoded value that has just been received from the database. Read more

impl<O, F> MapRow<Any> for F where
    F: FnMut(AnyRow) -> O,
    O: Unpin
[src]

type Output = O

impl MigrateDatabase for Any[src]

impl<O, F> TryMapRow<Any> for F where
    F: FnMut(AnyRow) -> Result<O, Error>,
    O: Unpin
[src]

type Output = O

impl Type<Any> for f64 where
    f64: AnyType
[src]

impl Type<Any> for bool where
    bool: AnyType
[src]

impl Type<Any> for i64 where
    i64: AnyType
[src]

impl Type<Any> for i32 where
    i32: AnyType
[src]

impl Type<Any> for str where
    str: AnyType
[src]

impl Type<Any> for String where
    String: AnyType
[src]

impl Type<Any> for f32 where
    f32: AnyType
[src]

Auto Trait Implementations

impl RefUnwindSafe for Any

impl Send for Any

impl Sync for Any

impl Unpin for Any

impl UnwindSafe for Any

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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