pub struct SegmentId { /* private fields */ }
Expand description
Trait Implementations§
source§impl Ord for SegmentId
impl Ord for SegmentId
source§impl PartialEq for SegmentId
impl PartialEq for SegmentId
source§impl PartialOrd for SegmentId
impl PartialOrd for SegmentId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl ToSegmentId for &SegmentId
impl ToSegmentId for &SegmentId
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: &SnapshotRef, ) -> Result<SegmentId, SegmentError>
source§impl ToSegmentId for SegmentId
impl ToSegmentId for SegmentId
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: &SnapshotRef, ) -> Result<SegmentId, SegmentError>
impl Copy for SegmentId
impl Eq for SegmentId
impl StructuralPartialEq for SegmentId
Auto Trait Implementations§
impl Freeze for SegmentId
impl RefUnwindSafe for SegmentId
impl Send for SegmentId
impl Sync for SegmentId
impl Unpin for SegmentId
impl UnwindSafe for SegmentId
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)