[][src]Struct rocks::options::FlushOptions

#[repr(C)]pub struct FlushOptions { /* fields omitted */ }

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

impl Default for FlushOptions[src]

impl Drop for FlushOptions[src]

impl Sync for FlushOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.