[][src]Trait persy::ToSegmentId

pub trait ToSegmentId {
    pub fn to_segment_id(self, address: &Address) -> PRes<SegmentId>;
pub fn to_segment_id_tx(
        self,
        persy: &PersyImpl,
        tx: &Transaction
    ) -> PRes<(SegmentId, bool)>;
pub fn to_segment_id_snapshot(
        self,
        snapshots: &Snapshots,
        snapshot: u64
    ) -> PRes<SegmentId>; }

Required methods

pub fn to_segment_id(self, address: &Address) -> PRes<SegmentId>[src]

pub fn to_segment_id_tx(
    self,
    persy: &PersyImpl,
    tx: &Transaction
) -> PRes<(SegmentId, bool)>
[src]

pub fn to_segment_id_snapshot(
    self,
    snapshots: &Snapshots,
    snapshot: u64
) -> PRes<SegmentId>
[src]

Loading content...

Implementors

impl ToSegmentId for SegmentId[src]

impl<'_> ToSegmentId for &'_ SegmentId[src]

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

Loading content...