pub struct SweepFiles {
pub runs: Vec<u8>,
pub series: Vec<u8>,
pub summary: Vec<u8>,
pub manifest: Vec<u8>,
pub search_tables: Vec<(&'static str, Vec<u8>)>,
}Expand description
The four files of a sweep, and the tables a search adds.
Fields§
§runs: Vec<u8>Bytes of runs.csv.
series: Vec<u8>Bytes of series.csv.
summary: Vec<u8>Bytes of summary.csv.
manifest: Vec<u8>Bytes of manifest.json.
search_tables: Vec<(&'static str, Vec<u8>)>Tables a search writes, each with its file name, in the order they are listed. Empty for a sweep.
Implementations§
Source§impl SweepFiles
impl SweepFiles
Sourcepub fn entries(&self) -> Vec<(&'static str, &[u8])>
pub fn entries(&self) -> Vec<(&'static str, &[u8])>
Returns each file with its name in an output directory, in the order runs, series, summary and manifest, then the search tables.
Sourcepub fn into_entries(self) -> Vec<(String, Vec<u8>)>
pub fn into_entries(self) -> Vec<(String, Vec<u8>)>
Returns each file with its name in an output directory, in the form crate::result_set::ResultSet::from_files
reads.
Trait Implementations§
Source§impl Clone for SweepFiles
impl Clone for SweepFiles
Source§impl Debug for SweepFiles
impl Debug for SweepFiles
Source§impl Default for SweepFiles
impl Default for SweepFiles
impl Eq for SweepFiles
Source§impl PartialEq for SweepFiles
impl PartialEq for SweepFiles
impl StructuralPartialEq for SweepFiles
Auto Trait Implementations§
impl Freeze for SweepFiles
impl RefUnwindSafe for SweepFiles
impl Send for SweepFiles
impl Sync for SweepFiles
impl Unpin for SweepFiles
impl UnsafeUnpin for SweepFiles
impl UnwindSafe for SweepFiles
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more