Struct io_uring::opcode::AcceptMulti
source · pub struct AcceptMulti { /* private fields */ }Expand description
Accept multiple new connections on a socket.
Set the allocate_file_index property if fixed file table entries should be used.
Available since 5.19.
Implementations§
source§impl AcceptMulti
impl AcceptMulti
pub fn new(fd: impl UseFixed) -> Self
sourcepub const CODE: u8 = 13u8
pub const CODE: u8 = 13u8
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 allocate_file_index(self, allocate_file_index: bool) -> Self
pub const fn flags(self, flags: i32) -> Self
pub fn build(self) -> Entry
Auto Trait Implementations§
impl RefUnwindSafe for AcceptMulti
impl Send for AcceptMulti
impl Sync for AcceptMulti
impl Unpin for AcceptMulti
impl UnwindSafe for AcceptMulti
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