pub struct DiskModel {
pub reorder_on_crash: bool,
pub max_pending: usize,
}Expand description
Disk behavior model for crash simulation.
Fields§
§reorder_on_crash: boolIf true, unfsynced writes may be reordered on crash.
max_pending: usizeMaximum pending writes before auto-flush.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiskModel
impl RefUnwindSafe for DiskModel
impl Send for DiskModel
impl Sync for DiskModel
impl Unpin for DiskModel
impl UnsafeUnpin for DiskModel
impl UnwindSafe for DiskModel
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