[−][src]Struct rocks::options::FlushOptions
Options that control flush operations
Implementations
impl FlushOptions
[src]
pub fn default_instance() -> &'static FlushOptions
[src]
pub fn wait(self, val: bool) -> Self
[src]
If true, the flush will wait until the flush is done.
Default: true
pub fn allow_write_stall(self, val: bool) -> Self
[src]
If true, the flush would proceed immediately even it means writes will stall for the duration of the flush; if false the operation will wait until it's possible to do flush w/o causing stall or until required flush is performed by someone else (foreground call or background thread).
Default: false
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FlushOptions
impl !Send for FlushOptions
impl Unpin for FlushOptions
impl UnwindSafe for FlushOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,