pub trait Transactional {
    type Storage: ?Sized;

    // Required method
    fn transaction(&self) -> StorageTransaction<Self::Storage>;
}
Expand description

The types is transactional and may create StorageTransaction.

Required Associated Types§

source

type Storage: ?Sized

The storage used when creating the transaction.

Required Methods§

source

fn transaction(&self) -> StorageTransaction<Self::Storage>

Creates and returns the storage transaction.

Implementors§