pub struct RecoveryOptions { /* private fields */ }Expand description
Controls recovery output size, suspect-data handling, and report retention.
Implementations§
Source§impl RecoveryOptions
impl RecoveryOptions
Sourcepub fn with_maximum_output_bytes(self, bytes: u64) -> Self
pub fn with_maximum_output_bytes(self, bytes: u64) -> Self
Rejects geometry exceeding this output limit before creating output.
Sourcepub fn with_preserve_checksum_suspect(self, preserve: bool) -> Self
pub fn with_preserve_checksum_suspect(self, preserve: bool) -> Self
Permits decoded raw bytes with a bad checksum, or bytes addressed by a checksum-damaged table, only when a validated alternate cannot recover them. Such bytes are always marked suspect. The default substitutes zeros.
Sourcepub fn with_maximum_records(self, count: usize) -> Self
pub fn with_maximum_records(self, count: usize) -> Self
Bounds retained notices and outcome ranges independently. Counters and streaming progress remain complete when records are omitted.
Trait Implementations§
Source§impl Clone for RecoveryOptions
impl Clone for RecoveryOptions
Source§impl Debug for RecoveryOptions
impl Debug for RecoveryOptions
Auto Trait Implementations§
impl Freeze for RecoveryOptions
impl RefUnwindSafe for RecoveryOptions
impl Send for RecoveryOptions
impl Sync for RecoveryOptions
impl Unpin for RecoveryOptions
impl UnsafeUnpin for RecoveryOptions
impl UnwindSafe for RecoveryOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more