pub struct TableDesc<'a> { /* private fields */ }
Expand description
Description of a table.
Implementations§
source§impl<'a> TableDesc<'a>
impl<'a> TableDesc<'a>
sourcepub fn new(
primary: Ecc,
secondary: Ecc,
metadata: Option<DataSource<'a>>,
chunks: Vec<ChunkDesc<'a>>,
children: Vec<TableDesc<'a>>
) -> Self
pub fn new( primary: Ecc, secondary: Ecc, metadata: Option<DataSource<'a>>, chunks: Vec<ChunkDesc<'a>>, children: Vec<TableDesc<'a>> ) -> Self
Create a new table description.
sourcepub fn flatten(
self,
has_sibling: bool,
tables: &mut TableArray,
chunks: &mut ChunkArray,
data: &mut DataArray<'a>
)
pub fn flatten( self, has_sibling: bool, tables: &mut TableArray, chunks: &mut ChunkArray, data: &mut DataArray<'a> )
Flatten the description into separate portions of tables, chunks and the data blob.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for TableDesc<'a>
impl<'a> Send for TableDesc<'a>
impl<'a> Sync for TableDesc<'a>
impl<'a> Unpin for TableDesc<'a>
impl<'a> UnwindSafe for TableDesc<'a>
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