Trait bee_storage::access::BatchBuilder
source · [−]pub trait BatchBuilder: StorageBackend {
type Batch: Default + Send + Sized;
fn batch_commit(
&self,
batch: Self::Batch,
durability: bool
) -> Result<(), Self::Error>;
fn batch_begin() -> Self::Batch { ... }
}
Expand description
BatchBuilder
trait extends the StorageBackend
with batch builder functionality; therefore it should be
explicitly implemented for the corresponding StorageBackend
.
Required Associated Types
Required Methods
Provided Methods
sourcefn batch_begin() -> Self::Batch
fn batch_begin() -> Self::Batch
Creates and returns the constraint Batch
object.