Struct mysql_async_support_rt::QueryRunner[][src]

pub struct QueryRunner {
    pub sql_over_ssh: SqlOverSsh,
    pub ssh_concurrent_limit: usize,
    pub tunnels_per_ssh_connection: usize,
}
Expand description

Runs queries for one or more query targets.

Fields

sql_over_ssh: SqlOverSsh

Runs SQL over an SSH connection.

ssh_concurrent_limit: usize

Maximum number of SSH connections to run concurrently.

tunnels_per_ssh_connection: usize

Maximum number of tunnels per SSH connection.

Implementations

Maximum number of tunnels per SSH connection.

Maximum number of tunnels per SSH connection.

Returns a new QueryRunner with the given connection limits.

Queries a database over an SSH connection.

Queries multiple query targets with the same query.

Queries multiple query targets with the same query.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a 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 resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

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.