#[non_exhaustive]pub enum LinuxTier {
Auto,
Sync,
Uring,
}Expand description
Which kernel interface the Linux backend’s queues use (D-082). Other backends have one interface and ignore it.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto
io_uring where the kernel accepts store-io’s rings (probed once per process), else the synchronous tier; the reason is reported.
Sync
One blocking system call per operation (T3), inline or on the submit pool.
Uring
io_uring rings (store-io’s own binding, D-093): operations complete asynchronously and never run on kernel worker threads. Refused where the kernel refuses the rings.
Trait Implementations§
impl Copy for LinuxTier
impl Eq for LinuxTier
impl StructuralPartialEq for LinuxTier
Auto Trait Implementations§
impl Forget for LinuxTier
impl Freeze for LinuxTier
impl Move for LinuxTier
impl RefUnwindSafe for LinuxTier
impl Send for LinuxTier
impl Sync for LinuxTier
impl Unpin for LinuxTier
impl UnsafeUnpin for LinuxTier
impl UnwindSafe for LinuxTier
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