pub struct RetainedSegment {
pub identity: SegmentIdentity,
pub start_lsn: u64,
pub end_lsn: u64,
pub units: Vec<RetainedUnit>,
}Expand description
Immutable retained-unit segment.
Fields§
§identity: SegmentIdentity§start_lsn: u64§end_lsn: u64§units: Vec<RetainedUnit>Implementations§
Trait Implementations§
Source§impl Clone for RetainedSegment
impl Clone for RetainedSegment
Source§fn clone(&self) -> RetainedSegment
fn clone(&self) -> RetainedSegment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RetainedSegment
impl Debug for RetainedSegment
impl Eq for RetainedSegment
Source§impl PartialEq for RetainedSegment
impl PartialEq for RetainedSegment
impl StructuralPartialEq for RetainedSegment
Auto Trait Implementations§
impl Freeze for RetainedSegment
impl RefUnwindSafe for RetainedSegment
impl Send for RetainedSegment
impl Sync for RetainedSegment
impl Unpin for RetainedSegment
impl UnsafeUnpin for RetainedSegment
impl UnwindSafe for RetainedSegment
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