Trait persy::ToSegmentId [−][src]
pub trait ToSegmentId { fn to_segment_id(self, address: &Address) -> PRes<SegmentId>; fn to_segment_id_tx(
self,
persy: &PersyImpl,
tx: &Transaction
) -> PRes<(SegmentId, bool)>; fn to_segment_id_snapshot(
self,
snapshots: &Snapshots,
snapshot: u64
) -> PRes<SegmentId>; }
Required methods
fn to_segment_id(self, address: &Address) -> PRes<SegmentId>
[src]
fn to_segment_id_tx(
self,
persy: &PersyImpl,
tx: &Transaction
) -> PRes<(SegmentId, bool)>
[src]
self,
persy: &PersyImpl,
tx: &Transaction
) -> PRes<(SegmentId, bool)>
fn to_segment_id_snapshot(
self,
snapshots: &Snapshots,
snapshot: u64
) -> PRes<SegmentId>
[src]
self,
snapshots: &Snapshots,
snapshot: u64
) -> PRes<SegmentId>
Implementors
impl ToSegmentId for &SegmentId
[src]
impl ToSegmentId for &SegmentId
[src]impl ToSegmentId for SegmentId
[src]
impl ToSegmentId for SegmentId
[src]impl<T: AsRef<str>> ToSegmentId for T
[src]
impl<T: AsRef<str>> ToSegmentId for T
[src]