[−][src]Struct stdbench::config::Collection  
Configuration of a tested collection.
Fields
name: StringA collection name.
kind: Box<dyn CollectionType>The colleciton's type used when deciding on how to parse it.
collection_dir: PathBufThe root directory of the collection. Depending on a type, it could
contain one or many files or directories. Must use name to determine
how to find relevant data.
forward_index: PathBufThe basename of the forward index.
inverted_index: PathBufThe basename of the inverted index.
encodings: Vec<Encoding>The list of index encoding techniques to be tested.
The compression step will be therefore run encodings.len() times,
one for each technique.
Methods
impl Collection[src]
pub fn fwd(&self) -> Result<&str, Error>[src]
Returns a string representing forward index path.
pub fn inv(&self) -> Result<&str, Error>[src]
Returns a string representing inverted index path.
Trait Implementations
impl FromYaml for Collection[src]
fn from_yaml(yaml: &Yaml) -> Result<Self, Error>[src]
fn from_yaml_at_key(yaml: &Yaml, key: &str) -> Result<Self, Error>[src]
Parse a property value at a given key.
impl PartialEq<Collection> for Collection[src]
fn eq(&self, other: &Self) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Debug for Collection[src]
Auto Trait Implementations
impl !Sync for Collection
impl !Send for Collection
impl Unpin for Collection
impl !UnwindSafe for Collection
impl !RefUnwindSafe for Collection
Blanket Implementations
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Downcast for T where
    T: Any, [src]
T: Any,