pub struct PatchOptions<'a> {
pub decrypt: bool,
pub block_sectors: Option<u16>,
pub full_recovery: bool,
pub reverse: bool,
pub wedged_threshold: u64,
pub progress: Option<&'a dyn Progress>,
pub halt: Option<Arc<AtomicBool>>,
}Expand description
Options for Disc::patch (Pass N retry pass over bad ranges).
Fields§
§decrypt: bool§block_sectors: Option<u16>§full_recovery: bool§reverse: bool§wedged_threshold: u64§progress: Option<&'a dyn Progress>§halt: Option<Arc<AtomicBool>>Auto Trait Implementations§
impl<'a> Freeze for PatchOptions<'a>
impl<'a> !RefUnwindSafe for PatchOptions<'a>
impl<'a> !Send for PatchOptions<'a>
impl<'a> !Sync for PatchOptions<'a>
impl<'a> Unpin for PatchOptions<'a>
impl<'a> UnsafeUnpin for PatchOptions<'a>
impl<'a> !UnwindSafe for PatchOptions<'a>
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