pub struct SegmentInfo {
pub path: PathBuf,
pub sequence: u64,
pub size: u64,
}Expand description
Information about a WAL segment file
Fields§
§path: PathBufPath to the segment file
sequence: u64Sequence number extracted from filename
size: u64File size in bytes
Trait Implementations§
Source§impl Clone for SegmentInfo
impl Clone for SegmentInfo
Source§fn clone(&self) -> SegmentInfo
fn clone(&self) -> SegmentInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SegmentInfo
impl RefUnwindSafe for SegmentInfo
impl Send for SegmentInfo
impl Sync for SegmentInfo
impl Unpin for SegmentInfo
impl UnwindSafe for SegmentInfo
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