Struct bee_storage_null::Storage[][src]

pub struct Storage;

Trait Implementations

Type to iterate through the <K, V> collection.

Returns a Iterator object for the provided <K, V> collection.

Add Insert batch operation for the provided key value pair into the Batch memory buffer.

Add Delete batch operation for the provided key value pair into the Batch memory buffer.

Type that acts like a memory buffer which queue all the write operations.

Takes ownership of a batch object in order to commit it to the backend. Durability argument determines if the batch needs to be logged into a write ahead log or not. Read more

Creates and returns the constraint Batch object.

Deletes the value associated with the key from the storage.

Checks if a value exists in the storage for the given key.

Fetches the value associated with the key from the storage.

Inserts the (K, V) pair in the storage.

The iterator associated type over values.

Fetches the values associated with the keys from the storage.

Helps build the associated Config.

Holds the backend options.

Returned on failed operations.

Initializes and starts the backend.

Shutdowns the backend.

Returns the size of the database in bytes. Not all backends may be able to provide this operation. Read more

Returns the health status of the database. Not all backends may be able to provide this operation. Read more

Sets the health status of the database. Not all backends may be able to provide this operation. Read more

Truncates all the entries associated with the (K, V) pair from the storage.

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.

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.