pub struct TlsConnection { /* private fields */ }
This is supported on crate feature aio and (crate features aio-ssl or aio-sslv) only.
Expand description

An asynchronous database connection over Skyhash/TLS

Implementations

Pass the host and port and the path to the CA certificate to use for TLS

This function will write a Query to the stream and read the response from the server. It will then determine if the returned response is complete or incomplete or invalid and return an appropriate variant of Error wrapped in IoResult for any I/O errors that may occur

Panics

This method will panic if the Query supplied is empty (i.e has no arguments)

Runs a pipelined query. See the Pipeline documentation for a guide on usage

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

This is supported on crate feature aio only.

Get the number of keys present in the database

This is supported on crate feature aio only.

Deletes a single or a number of keys Read more

This is supported on crate feature aio only.

Checks if a key (or keys) exist(s) Read more

This is supported on crate feature aio only.

Removes all the keys present in the database

This is supported on crate feature aio only.

Get the value of a key Read more

This is supported on crate feature aio only.

Get the length of a key Read more

This is supported on crate feature aio only.

Returns a vector of keys Read more

This is supported on crate feature aio only.

Get multiple keys Read more

This is supported on crate feature aio only.

Creates a snapshot Read more

This is supported on crate feature aio only.

Sets the value of multiple keys and values and returns the number of keys that were set Read more

This is supported on crate feature aio only.

Updates the value of multiple keys and values and returns the number of keys that were updated Read more

This is supported on crate feature aio only.

Consumes a key if it exists Read more

This is supported on crate feature aio only.

Consumes the provided keys if they exist Read more

This is supported on crate feature aio only.

Deletes all the provided keys if they exist or doesn’t do anything at all. This method will return true if all the provided keys were deleted, else it will return false Read more

This is supported on crate feature aio only.

Set the value of a key Read more

This is supported on crate feature aio only.

Sets the value of all the provided keys or does nothing. This method will return true if all the keys were set or will return false if none were set Read more

This is supported on crate feature aio only.

Updates the value of all the provided keys or does nothing. This method will return true if all the keys were updated or will return false if none were updated. Read more

This is supported on crate feature aio only.

Update the value of a key Read more

This is supported on crate feature aio only.

Updates or sets all the provided keys and returns the number of keys that were set Read more

This is supported on crate feature aio only.

This function switches to the provided entity. Read more

This is supported on crate feature aio only.

Create the provided keyspace Read more

This is supported on crate feature aio only.

Create a table from the provided configuration

This is supported on crate feature aio only.

Drop the provided table Read more

This is supported on crate feature aio only.

Drop the provided keyspace Read more

This is supported on crate feature aio only.

Check what keyspace this connection is currently connected to

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

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.