Struct io_uring::opcode::FilesUpdate
source · pub struct FilesUpdate { /* private fields */ }Expand description
This command is an alternative to using
Submitter::register_files_update which then
works in an async fashion, like the rest of the io_uring commands.
Implementations§
source§impl FilesUpdate
impl FilesUpdate
pub fn new(fds: *const RawFd, len: u32) -> Self
sourcepub const CODE: u8 = 20u8
pub const CODE: u8 = 20u8
The opcode of the operation. This can be passed to
Probe::is_supported to check if this operation is
supported with the current kernel.
pub const fn offset(self, offset: i32) -> Self
pub fn build(self) -> Entry
Auto Trait Implementations§
impl RefUnwindSafe for FilesUpdate
impl !Send for FilesUpdate
impl !Sync for FilesUpdate
impl Unpin for FilesUpdate
impl UnwindSafe for FilesUpdate
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