Struct exar::PartialScannersConfig [] [src]

pub struct PartialScannersConfig {
    pub nr_of_scanners: Option<u8>,
    pub sleep_time_in_ms: Option<u64>,
}

Exar DB's partial scanners configuration. Holds overrides for the main database configuration.

Examples

extern crate exar;

use exar::*;

let config = PartialScannersConfig {
    nr_of_scanners: Some(2),
    sleep_time_in_ms: Some(10)
};

Fields

Number of scanners for each log file (spawns 2 threads for each scanner).

Amount of time the scanner threads should sleep between each scan.

Trait Implementations

impl Clone for PartialScannersConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PartialScannersConfig
[src]

Formats the value using the given formatter.

impl PartialEq for PartialScannersConfig
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for PartialScannersConfig
[src]