pub struct TpcDs;Trait Implementations§
Source§impl DatasetAdapter for TpcDs
impl DatasetAdapter for TpcDs
Source§fn load(&self, path: &Path) -> Result<ResidualStream>
fn load(&self, path: &Path) -> Result<ResidualStream>
Load a real subset from
path. Errors if the file/directory is
missing, malformed, or empty.Source§fn exemplar(&self, seed: u64) -> ResidualStream
fn exemplar(&self, seed: u64) -> ResidualStream
Generate a deterministic synthetic exemplar with the dataset’s
statistical shape.
seed makes the run reproducible. The returned
stream’s source will be "{name}-exemplar-seed{seed}" so that no
downstream report mislabels it as real data.Auto Trait Implementations§
impl Freeze for TpcDs
impl RefUnwindSafe for TpcDs
impl Send for TpcDs
impl Sync for TpcDs
impl Unpin for TpcDs
impl UnsafeUnpin for TpcDs
impl UnwindSafe for TpcDs
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