pub struct FindOptions {
pub datadir: String,
pub page: Option<u64>,
pub checksum: Option<u32>,
pub space_id: Option<u32>,
pub corrupt: bool,
pub first: bool,
pub json: bool,
pub page_size: Option<u32>,
pub threads: usize,
pub mmap: bool,
pub depth: Option<u32>,
}Expand description
Options for the inno find subcommand.
Fields§
§datadir: StringMySQL data directory path to search.
page: Option<u64>Page number to search for across all tablespace files.
checksum: Option<u32>Optional checksum filter — only match pages with this stored checksum.
space_id: Option<u32>Optional space ID filter — only match pages in this tablespace.
corrupt: boolScan for pages with checksum mismatches.
first: boolStop searching after the first match.
json: boolEmit output as JSON.
page_size: Option<u32>Override the auto-detected page size.
threads: usizeNumber of threads for parallel processing (0 = auto-detect).
mmap: boolUse memory-mapped I/O for file access.
depth: Option<u32>Maximum directory recursion depth (None = default 2, Some(0) = unlimited).
Auto Trait Implementations§
impl Freeze for FindOptions
impl RefUnwindSafe for FindOptions
impl Send for FindOptions
impl Sync for FindOptions
impl Unpin for FindOptions
impl UnsafeUnpin for FindOptions
impl UnwindSafe for FindOptions
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> 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