[][src]Trait persy::ToIndexId

pub trait ToIndexId {
    fn to_index_id(self, address: &Address) -> PRes<IndexId>;
fn to_index_id_tx(
        self,
        persy: &PersyImpl,
        tx: &Transaction
    ) -> PRes<(IndexId, bool)>;
fn to_index_id_snapshot(
        self,
        snapshots: &Snapshots,
        snapshot: u64
    ) -> PRes<IndexId>; }

Required methods

fn to_index_id(self, address: &Address) -> PRes<IndexId>

fn to_index_id_tx(
    self,
    persy: &PersyImpl,
    tx: &Transaction
) -> PRes<(IndexId, bool)>

fn to_index_id_snapshot(
    self,
    snapshots: &Snapshots,
    snapshot: u64
) -> PRes<IndexId>

Loading content...

Implementors

impl ToIndexId for IndexId[src]

impl<'_> ToIndexId for &'_ IndexId[src]

impl<T: AsRef<str>> ToIndexId for T[src]

Loading content...