pub struct RedisPersistence { /* private fields */ }

Implementations§

Trait Implementations§

Open and initialize the persistent store. @param client_id The unique client identifier. @param server_uri The address of the server to which the client is connected. Read more
Close the persistence store.
Put data into the persistence store. @param key The key to the data. @param The data to place into the store. Read more
Gets data from the persistence store. @param key They key for the desired data. Read more
Removes data for the specified key. @param key The key for the data to remove. Read more
Gets the keys that are currently in the persistence store
Clear the persistence store so that it no longer contains any data.
Determines if the persistence store contains the key. @param key The key @return true if the key is found in the store, false otherwise. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.