[][src]Struct pbft_engine::storage::disk::DiskStorageWriteGuard

pub struct DiskStorageWriteGuard<'a, T: Serialize + DeserializeOwned + 'a> {
    storage: &'a mut DiskStorage<T>,

A disk-based write guard


storage: &'a mut DiskStorage<T>


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

fn new(storage: &'a mut DiskStorage<T>) -> Self[src]

Trait Implementations

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

type Target = T

The resulting type after dereferencing.

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

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

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

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

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for DiskStorageWriteGuard<'a, T> where
    T: RefUnwindSafe

impl<'a, T> Send for DiskStorageWriteGuard<'a, T> where
    T: Send

impl<'a, T> Sync for DiskStorageWriteGuard<'a, T> where
    T: Sync

impl<'a, T> Unpin for DiskStorageWriteGuard<'a, T>

impl<'a, T> !UnwindSafe for DiskStorageWriteGuard<'a, T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any