[][src]Struct pbft_engine::storage::memory::MemStorageWriteGuard

pub struct MemStorageWriteGuard<'a, T: Serialize + DeserializeOwned + 'a> {
    storage: &'a mut MemStorage<T>,
}

Memory-backed write guard

Fields

storage: &'a mut MemStorage<T>

Implementations

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

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

Trait Implementations

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

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

type Target = T

The resulting type after dereferencing.

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

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

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DebugAny for T where
    T: Any + Debug

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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