[][src]Trait pbft_engine::storage::StorageWriteGuard

pub trait StorageWriteGuard<'a, T: Sized>: DerefMut<Target = T> { }

RAII structure used to allow write access to state object

This guard will ensure that any changes to an object are persisted to a backing store when this is Dropped.

Implementors

impl<'a, T: 'a + Serialize + DeserializeOwned> StorageWriteGuard<'a, T> for DiskStorageWriteGuard<'a, T>[src]

impl<'a, T: 'a + Serialize + DeserializeOwned> StorageWriteGuard<'a, T> for MemStorageWriteGuard<'a, T>[src]

Loading content...