pub struct DriverApi { /* private fields */ }Implementations§
Source§impl DriverApi
impl DriverApi
Sourcepub fn submit_inline<F>(&self, id: u32, f: F)
pub fn submit_inline<F>(&self, id: u32, f: F)
Submit request to the driver.
Sourcepub fn is_supported(&self, opcode: u8) -> bool
pub fn is_supported(&self, opcode: u8) -> bool
Get whether a specific io-uring opcode is supported.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DriverApi
impl !RefUnwindSafe for DriverApi
impl !Send for DriverApi
impl !Sync for DriverApi
impl Unpin for DriverApi
impl !UnwindSafe for DriverApi
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