pub struct RingConfig {
pub entries: usize,
pub buf_size: usize,
pub io_depth: i32,
pub timeout: i32,
pub numa: i32,
pub flags: u64,
pub block_size: usize,
}Expand description
Configuration parameters for the I/O ring. This structure defines the settings used to create and configure an I/O ring.
Fields§
§entries: usizeNumber of entries in the ring buffer
buf_size: usizeSize of the I/O buffer in bytes
io_depth: i32Maximum I/O depth for concurrent operations
timeout: i32Timeout value for I/O operations
numa: i32NUMA node identifier (-1 for no NUMA awareness)
flags: u64Additional flags for ring configuration
block_size: usizeBlock size for I/O operations
Trait Implementations§
Source§impl Clone for RingConfig
impl Clone for RingConfig
Source§fn clone(&self) -> RingConfig
fn clone(&self) -> RingConfig
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 RingConfig
impl Debug for RingConfig
Auto Trait Implementations§
impl Freeze for RingConfig
impl RefUnwindSafe for RingConfig
impl Send for RingConfig
impl Sync for RingConfig
impl Unpin for RingConfig
impl UnwindSafe for RingConfig
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