pub struct Snowset;Trait Implementations§
Source§impl DatasetAdapter for Snowset
impl DatasetAdapter for Snowset
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 Snowset
impl RefUnwindSafe for Snowset
impl Send for Snowset
impl Sync for Snowset
impl Unpin for Snowset
impl UnsafeUnpin for Snowset
impl UnwindSafe for Snowset
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