Trait persy::ToSegmentId
source · [−]pub trait ToSegmentId {
fn to_segment_id(self, address: &Address) -> Result<SegmentId, SegmentError>;
fn to_segment_id_tx(
self,
persy: &PersyImpl,
tx: &TransactionImpl
) -> Result<(SegmentId, bool), SegmentError>;
fn to_segment_id_snapshot(
self,
snapshots: &Snapshots,
snapshot: u64
) -> Result<SegmentId, SegmentError>;
}