pub struct IOBackendStatistics {
pub backend_type: String,
pub is_exclusive_mmap: bool,
pub is_exclusive_std: bool,
pub is_default_mode: bool,
}Expand description
I/O backend statistics for debugging and monitoring
Fields§
§backend_type: String§is_exclusive_mmap: bool§is_exclusive_std: bool§is_default_mode: boolImplementations§
Source§impl IOBackendStatistics
impl IOBackendStatistics
Sourcepub fn get_backend_type(&self) -> &str
pub fn get_backend_type(&self) -> &str
Get backend description
Sourcepub fn is_high_performance(&self) -> bool
pub fn is_high_performance(&self) -> bool
Check if using high-performance mmap backend
Trait Implementations§
Source§impl Clone for IOBackendStatistics
impl Clone for IOBackendStatistics
Source§fn clone(&self) -> IOBackendStatistics
fn clone(&self) -> IOBackendStatistics
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 moreAuto Trait Implementations§
impl Freeze for IOBackendStatistics
impl RefUnwindSafe for IOBackendStatistics
impl Send for IOBackendStatistics
impl Sync for IOBackendStatistics
impl Unpin for IOBackendStatistics
impl UnwindSafe for IOBackendStatistics
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