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

pub trait Readable: Transaction {
    fn read(
        &self,
        handle: Self::Handle,
        key: &[u8]
    ) -> Result<Option<Bytes>, Self::Error>; }

A transaction with the capability to read from a given Handle.

Required methods

fn read(
    &self,
    handle: Self::Handle,
    key: &[u8]
) -> Result<Option<Bytes>, Self::Error>
[src]

Returns the value from the corresponding key from a given Transaction::Handle.

Loading content...

Implementations on Foreign Types

impl<'a> Readable for RoTransaction<'a>[src]

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

Loading content...

Implementors

impl Readable for InMemoryReadTransaction[src]

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

Loading content...