Enum cask::SyncStrategy
[−]
[src]
pub enum SyncStrategy { Never, Always, Interval(usize), }
Strategy used to synchronize writes to disk.
Variants
Never
Never explicitly synchronize writes (the OS manages it).
Always
Always synchronize writes.
Interval(usize)
Synchronize writes in the background every n
milliseconds.
Trait Implementations
impl Clone for SyncStrategy
[src]
fn clone(&self) -> SyncStrategy
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for SyncStrategy
[src]
fn eq(&self, __arg_0: &SyncStrategy) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SyncStrategy) -> bool
[src]
This method tests for !=
.