pub struct SaveOptions {
pub limits: SaveLimits,
pub durability: Durability,
}Expand description
File-write limits and persistence policy. Defaults to Linux durable writes.
Fields§
§limits: SaveLimitsMaximum serialized payload size.
durability: DurabilityWhether to flush storage as part of replacement.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SaveOptions
impl RefUnwindSafe for SaveOptions
impl Send for SaveOptions
impl Sync for SaveOptions
impl Unpin for SaveOptions
impl UnsafeUnpin for SaveOptions
impl UnwindSafe for SaveOptions
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