Struct iroh_blobs::store::fs::BatchOptions
source · pub struct BatchOptions {
pub max_read_batch: usize,
pub max_read_duration: Duration,
pub max_write_batch: usize,
pub max_write_duration: Duration,
}
Expand description
Options for transaction batching.
Fields§
§max_read_batch: usize
Maximum number of actor messages to batch before creating a new read transaction.
max_read_duration: Duration
Maximum duration to wait before committing a read transaction.
max_write_batch: usize
Maximum number of actor messages to batch before committing write transaction.
max_write_duration: Duration
Maximum duration to wait before committing a write transaction.
Trait Implementations§
source§impl Clone for BatchOptions
impl Clone for BatchOptions
source§fn clone(&self) -> BatchOptions
fn clone(&self) -> BatchOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BatchOptions
impl Debug for BatchOptions
Auto Trait Implementations§
impl Freeze for BatchOptions
impl RefUnwindSafe for BatchOptions
impl Send for BatchOptions
impl Sync for BatchOptions
impl Unpin for BatchOptions
impl UnwindSafe for BatchOptions
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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