Enum mysql_async_support_model::Error [−][src]
pub enum Error { PoolConstraintsInitialize, MySqlConnectionRetrieve(Error), MySqlPrepare(Error), MySqlExecute(Error), QueryResultSetFetch(Error), MySqlPoolDisconnect(Error), SshConnInit, SshTunnelNotFound { jump_host_address: HostAddress<'static>, query_target: QueryTarget<'static>, }, SshJumper(Box<Error>), }
Expand description
Error while using the mysql_async_support
library.
Variants
Failed to initialize mysql_async::PoolConstraints
.
MySqlConnectionRetrieve(Error)
Failed to get MySQL connection.
MySqlPrepare(Error)
Failed to prepare SQL statement.
MySqlExecute(Error)
Failed to execute SQL query.
QueryResultSetFetch(Error)
Failed to fetch result set from query execution.
One query may have multiple result sets, and we may fail to fetch a later one.
MySqlPoolDisconnect(Error)
Error occurred while disconnecting connection pool.
SSH connection initialization failed.
SSH tunnel was not found for a query target.
Show fields
Fields of SshTunnelNotFound
jump_host_address: HostAddress<'static>
Address of the jump host.
query_target: QueryTarget<'static>
The query target that the SSH tunnel wasn’t found for.
SshJumper(Box<Error>)
Error while using the ssh_jumper
crate.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error