pub enum IoProbeMode {
Buffered,
Seq,
NoBuf,
NoBufOverlapped,
}Expand description
I/O strategy to measure for one $MFT read pass (ADR-0011).
Variants§
Buffered
The production strategy: buffered synchronous reads.
Seq
Buffered + FILE_FLAG_SEQUENTIAL_SCAN cache hint.
NoBuf
FILE_FLAG_NO_BUFFERING, synchronous (no cache-manager copy).
NoBufOverlapped
FILE_FLAG_NO_BUFFERING + FILE_FLAG_OVERLAPPED with queue_depth
reads outstanding — tests whether sequential multiplexing helps
(parallel random reads are known to serialize in the kernel).
Trait Implementations§
Source§impl Clone for IoProbeMode
impl Clone for IoProbeMode
Source§fn clone(&self) -> IoProbeMode
fn clone(&self) -> IoProbeMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IoProbeMode
impl Debug for IoProbeMode
Source§impl PartialEq for IoProbeMode
impl PartialEq for IoProbeMode
impl Copy for IoProbeMode
impl Eq for IoProbeMode
impl StructuralPartialEq for IoProbeMode
Auto Trait Implementations§
impl Freeze for IoProbeMode
impl RefUnwindSafe for IoProbeMode
impl Send for IoProbeMode
impl Sync for IoProbeMode
impl Unpin for IoProbeMode
impl UnsafeUnpin for IoProbeMode
impl UnwindSafe for IoProbeMode
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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