Struct hff_std::TableBuilder
source · pub struct TableBuilder(/* private fields */);
Expand description
Build a table.
Implementations§
source§impl TableBuilder
impl TableBuilder
sourcepub fn chunk<T>(
self,
primary: impl Into<Ecc>,
secondary: impl Into<Ecc>,
data: T
) -> Result<Self>where
T: TryInto<Box<dyn DataSource>>,
<T as TryInto<Box<dyn DataSource>>>::Error: Debug,
Error: From<<T as TryInto<Box<dyn DataSource>>>::Error>,
pub fn chunk<T>(
self,
primary: impl Into<Ecc>,
secondary: impl Into<Ecc>,
data: T
) -> Result<Self>where
T: TryInto<Box<dyn DataSource>>,
<T as TryInto<Box<dyn DataSource>>>::Error: Debug,
Error: From<<T as TryInto<Box<dyn DataSource>>>::Error>,
Add a chunk entry to the current table.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TableBuilder
impl !Send for TableBuilder
impl !Sync for TableBuilder
impl Unpin for TableBuilder
impl !UnwindSafe for TableBuilder
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