pub struct DirectIoConfig {
pub max_files: u16,
pub max_commands_in_flight: u16,
}Expand description
Configuration for direct I/O support.
When present in Config, enables direct I/O file
management and allocates file/command tracking structures.
Fields§
§max_files: u16Maximum number of files that can be opened simultaneously.
max_commands_in_flight: u16Maximum I/O commands in flight across all files per worker.
Trait Implementations§
Source§impl Clone for DirectIoConfig
impl Clone for DirectIoConfig
Source§fn clone(&self) -> DirectIoConfig
fn clone(&self) -> DirectIoConfig
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 DirectIoConfig
impl Debug for DirectIoConfig
Auto Trait Implementations§
impl Freeze for DirectIoConfig
impl RefUnwindSafe for DirectIoConfig
impl Send for DirectIoConfig
impl Sync for DirectIoConfig
impl Unpin for DirectIoConfig
impl UnsafeUnpin for DirectIoConfig
impl UnwindSafe for DirectIoConfig
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