pub struct WatchOptions {
pub file: String,
pub interval: u64,
pub verbose: bool,
pub json: bool,
pub events: bool,
pub page_size: Option<u32>,
pub keyring: Option<String>,
pub mmap: bool,
}Expand description
Options for the inno watch subcommand.
Fields§
§file: StringPath to the InnoDB tablespace file.
interval: u64Polling interval in milliseconds.
verbose: boolShow per-field diffs for changed pages.
json: boolOutput in NDJSON streaming format.
events: boolEmit per-page NDJSON change events (audit-log compatible).
page_size: Option<u32>Override the auto-detected page size.
keyring: Option<String>Path to MySQL keyring file for decrypting encrypted tablespaces.
mmap: boolUse memory-mapped I/O for file access.
Auto Trait Implementations§
impl Freeze for WatchOptions
impl RefUnwindSafe for WatchOptions
impl Send for WatchOptions
impl Sync for WatchOptions
impl Unpin for WatchOptions
impl UnsafeUnpin for WatchOptions
impl UnwindSafe for WatchOptions
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