Struct sqlx::Any[][src]

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 QueryResult = AnyQueryResult

The concrete QueryResult 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 i32 where
    i32: AnyDecode<'r>, 
[src]

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

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

impl<'r> Decode<'r, Any> for String where
    String: 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<'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> Encode<'q, Any> for f64 where
    f64: AnyEncode<'q>, 
[src]

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

impl<'q> Encode<'q, Any> for f32 where
    f32: 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 bool where
    bool: 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 MigrateDatabase for Any[src]

impl Type<Any> for i64[src]

impl Type<Any> for bool[src]

impl Type<Any> for f64[src]

impl Type<Any> for String[src]

impl Type<Any> for i32[src]

impl Type<Any> for str[src]

impl Type<Any> for f32[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> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

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

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

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

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