Struct assembly_fdb::core::loader::SchemaLoader
source · pub struct SchemaLoader<'a, T, C> { /* private fields */ }
Expand description
Structure to load a schema from some encapsulated stream
Implementations§
source§impl<'a, T, C> SchemaLoader<'a, T, C>
impl<'a, T, C> SchemaLoader<'a, T, C>
sourcepub fn try_load_row(&mut self, header: FDBRowHeader) -> FileResult<Row>
pub fn try_load_row(&mut self, header: FDBRowHeader) -> FileResult<Row>
Try to load a row
sourcepub fn try_load_bucket(&mut self, header: FDBBucketHeader) -> FileResult<Bucket>
pub fn try_load_bucket(&mut self, header: FDBBucketHeader) -> FileResult<Bucket>
Try to load a bucket
sourcepub fn try_load_column(&mut self, header: FDBColumnHeader) -> FileResult<Column>
pub fn try_load_column(&mut self, header: FDBColumnHeader) -> FileResult<Column>
Try to load a column
sourcepub fn try_load_table_def(
&mut self,
header: FDBTableDefHeader,
) -> FileResult<TableDef>
pub fn try_load_table_def( &mut self, header: FDBTableDefHeader, ) -> FileResult<TableDef>
Try to load a table definition
sourcepub fn try_load_table_data(
&mut self,
header: FDBTableDataHeader,
) -> FileResult<TableData>
pub fn try_load_table_data( &mut self, header: FDBTableDataHeader, ) -> FileResult<TableData>
Try to load table data
sourcepub fn try_load_table(&mut self, header: FDBTableHeader) -> FileResult<Table>
pub fn try_load_table(&mut self, header: FDBTableHeader) -> FileResult<Table>
Try to load a table
sourcepub fn try_load_schema(&mut self) -> FileResult<Schema>
pub fn try_load_schema(&mut self) -> FileResult<Schema>
Try to load a schema
Auto Trait Implementations§
impl<'a, T, C> Freeze for SchemaLoader<'a, T, C>where
C: Freeze,
impl<'a, T, C> RefUnwindSafe for SchemaLoader<'a, T, C>where
C: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T, C> Send for SchemaLoader<'a, T, C>
impl<'a, T, C> Sync for SchemaLoader<'a, T, C>
impl<'a, T, C> Unpin for SchemaLoader<'a, T, C>where
C: Unpin,
impl<'a, T, C> !UnwindSafe for SchemaLoader<'a, T, C>
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