Struct async_skipdb::Options
source · pub struct Options { /* private fields */ }
Expand description
The options used to create a new EquivalentDB
.
Implementations§
source§impl Options
impl Options
sourcepub fn with_max_batch_size(self, max_batch_size: u64) -> Options
pub fn with_max_batch_size(self, max_batch_size: u64) -> Options
Sets the maximum batch size in bytes.
sourcepub fn with_max_batch_entries(self, max_batch_entries: u64) -> Options
pub fn with_max_batch_entries(self, max_batch_entries: u64) -> Options
Sets the maximum entries in batch.
sourcepub fn with_detect_conflicts(self, detect_conflicts: bool) -> Options
pub fn with_detect_conflicts(self, detect_conflicts: bool) -> Options
Sets the detect conflicts.
sourcepub const fn max_batch_size(&self) -> u64
pub const fn max_batch_size(&self) -> u64
Returns the maximum batch size in bytes.
sourcepub const fn max_batch_entries(&self) -> u64
pub const fn max_batch_entries(&self) -> u64
Returns the maximum entries in batch.
sourcepub const fn detect_conflicts(&self) -> bool
pub const fn detect_conflicts(&self) -> bool
Returns the detect conflicts.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more