Struct sqlx::any::AnyConnectOptions[][src]

pub struct AnyConnectOptions(_);
Expand description

Opaque options for connecting to a database. These may only be constructed by parsing from a connection uri.

postgres://postgres:password@localhost/database
mysql://root:password@localhost/database

Implementations

Trait Implementations

Establish a new database connection with the options specified by self.

Log executed statements with the specified level

Log executed statements with a duration above the specified duration at the specified level. Read more

Entirely disables statement logging (both slow and regular).

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.