pub struct Table { /* private fields */ }Expand description
The committed table directory.
Implementations§
Source§impl Table
impl Table
Sourcepub fn clustering(&self) -> Option<&Clustering>
pub fn clustering(&self) -> Option<&Clustering>
The order the rows are meant to be stored in, if this table was declared with one.
Sourcepub fn generation(&self) -> u64
pub fn generation(&self) -> u64
The generation every section of this table is judged against.
See the field. A caller deciding whether to read a section asks Section::usable with
this.
Sourcepub fn sections(&self) -> &[Section]
pub fn sections(&self) -> &[Section]
Every graph section this table names, including the kinds this build does not know.
Including them is the point. A caller that wants only the ones it can use asks
Section::usable, and a caller rewriting the directory carries the rest through, so a
file opened by an older build and written again does not silently lose a section that build
had no name for.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnsafeUnpin for Table
impl UnwindSafe for Table
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