[][src]Trait exonum_merkledb::AsReadonly

pub trait AsReadonly: RawAccess {
    type Readonly: RawAccess;
    fn as_readonly(&self) -> Self::Readonly;
}

Converts index access to a readonly presentation. The conversion operation is cheap.

Associated Types

type Readonly: RawAccess

Readonly version of the access.

Loading content...

Required methods

fn as_readonly(&self) -> Self::Readonly

Performs the conversion.

Loading content...

Implementations on Foreign Types

impl AsReadonly for Rc<Fork>[src]

impl<'_> AsReadonly for &'_ Box<dyn Snapshot>[src]

type Readonly = Self

impl AsReadonly for Rc<dyn Snapshot>[src]

type Readonly = Self

impl AsReadonly for Arc<dyn Snapshot>[src]

type Readonly = Self

Loading content...

Implementors

impl AsReadonly for OwnedReadonlyFork[src]

type Readonly = Self

impl<'_> AsReadonly for &'_ Patch[src]

type Readonly = Self

impl<'_> AsReadonly for &'_ dyn Snapshot[src]

type Readonly = Self

impl<'_> AsReadonly for GenericRawAccess<'_>[src]

type Readonly = Self

impl<'a> AsReadonly for &'a Fork[src]

type Readonly = ReadonlyFork<'a>

impl<'a> AsReadonly for ReadonlyFork<'a>[src]

type Readonly = Self

Loading content...