Trait casper_execution_engine::storage::transaction_source::Writable[][src]

pub trait Writable: Transaction {
    fn write(
        &mut self,
        handle: Self::Handle,
        key: &[u8],
        value: &[u8]
    ) -> Result<(), Self::Error>; }

A transaction with the capability to write to a given Handle.

Required methods

fn write(
    &mut self,
    handle: Self::Handle,
    key: &[u8],
    value: &[u8]
) -> Result<(), Self::Error>
[src]

Inserts a key-value pair into a given Transaction::Handle.

Loading content...

Implementations on Foreign Types

impl<'a> Writable for RwTransaction<'a>[src]

Loading content...

Implementors

impl<'a> Writable for InMemoryReadWriteTransaction<'a>[src]

Loading content...