pub struct Offload {
pub threshold: u64,
pub early: bool,
}Expand description
How the simulated shared log treats records over its offload threshold.
Fields§
§threshold: u64Records whose canonical encoding is longer than this go to the blob area; 0: none.
early: boolSabotage: sections are released to batches as soon as their blobs are written, before the blobs are durable.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Offload
impl Freeze for Offload
impl Move for Offload
impl RefUnwindSafe for Offload
impl Send for Offload
impl Sync for Offload
impl Unpin for Offload
impl UnsafeUnpin for Offload
impl UnwindSafe for Offload
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