Struct mtbl::FilesetOptions [] [src]

pub struct FilesetOptions {
    pub reload_interval_seconds: Option<u32>,
}

Options for opening an MTBL fileset.

Examples

FilesetOptions::new().reload_interval_seconds(10).open_from_path("/tmp/data-fileset")Run

Fields

How often, in seconds, to reload the fileset description file to look for new file entries. The mtbl default is 60 seconds.

Methods

impl FilesetOptions
[src]

Create a FilesetOptions with only defaults.

Create a modified FilesetOptions with reload_interval_seconds set.

Open a Fileset with these options from the specified setfile. Note that you must include a MergeFn to combine colliding entries that have the same key.

Trait Implementations

impl Clone for FilesetOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for FilesetOptions
[src]