pub struct IoUringGridManager { /* private fields */ }Expand description
Linux io_uring-based zero-copy streamer.
Uses O_DIRECT to bypass the kernel page cache and achieve deterministic DMA transfers from NVMe to RAM.
Implementations§
Trait Implementations§
Source§impl Drop for IoUringGridManager
Available on Linux only.
impl Drop for IoUringGridManager
Available on Linux only.
Source§impl ZeroCopyStreamer for IoUringGridManager
Available on Linux only.
impl ZeroCopyStreamer for IoUringGridManager
Available on Linux only.
Source§fn async_read_chunk(&mut self, offset: u64) -> Result<(), IoError>
fn async_read_chunk(&mut self, offset: u64) -> Result<(), IoError>
Issues an asynchronous hardware read into the INACTIVE buffer. Read more
Source§fn get_active_buffer(&self) -> &[u8] ⓘ
fn get_active_buffer(&self) -> &[u8] ⓘ
Returns the currently active buffer for SIMD chunking. Read more
Source§fn buffer_size(&self) -> usize
fn buffer_size(&self) -> usize
Returns the buffer size in bytes.
Auto Trait Implementations§
impl Freeze for IoUringGridManager
impl RefUnwindSafe for IoUringGridManager
impl Send for IoUringGridManager
impl Sync for IoUringGridManager
impl Unpin for IoUringGridManager
impl UnsafeUnpin for IoUringGridManager
impl UnwindSafe for IoUringGridManager
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
§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