Struct warmy::load::StoreOpt [] [src]

pub struct StoreOpt { /* fields omitted */ }

Various options to customize a Store.

Feel free to inspect all of its declared methods for further information.

Methods

impl StoreOpt
[src]

[src]

Change the update await time (milliseconds) used to determine whether a resource should be reloaded or not.

A Store will wait that amount of time before deciding an resource should be reloaded after it has changed on the filesystem. That is required in order to cope with write streaming, that generates a lot of write event.

Default

Defaults to 50 milliseconds.

[src]

Get the update await time (milliseconds).

[src]

Change the root directory from which the Store will be watching file changes.

Default

Defaults to ".".

[src]

Get root directory.

Trait Implementations

impl Default for StoreOpt
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for StoreOpt

impl Sync for StoreOpt