Struct persy::SegmentId [−][src]
pub struct SegmentId { /* fields omitted */ }
Expand description
Represents a looked-up segment
Invalidation
When a segment is deleted, the corresponding SegmentId becomes invalid.
Serialization
This type supports serialization, It does NOT serialize to the segment name.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
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>
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>
Auto Trait Implementations
impl RefUnwindSafe for SegmentId
impl UnwindSafe for SegmentId
Blanket Implementations
Mutably borrows from an owned value. Read more