pub struct Batch { /* private fields */ }
Expand description

A batch of key-value pairs to be written into the database.

Implementations

Make a new batch with the given config.

Insert a value into the batch, committing if necessary.

Commit all the items in the batch to the given database.

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.