pub struct UringReactor {
    ctx: URingContext,
    ring: Mutex<Ring>,
    thread_id: Mutex<Option<ThreadId>>,
}
Expand description

Reactor that manages async IO work using io_uring.

Fields§

§ctx: URingContext§ring: Mutex<Ring>§thread_id: Mutex<Option<ThreadId>>

Implementations§

Trait Implementations§

Returns the underlying raw descriptor. Read more
Executes the destructor for this type. Read more
Wake up any pending wait_for_work calls. If there are none pending, then wake up the next wait_for_work call (necessary to avoid race conditions).
Called when the executor is being dropped to allow orderly shutdown (e.g. cancelling IO work). The returned future will be run to completion. Read more
Called when an executor run loop starts on a thread.
Block until an event occurs (e.g. IO work is ready) or until wake is called. Read more
Create an IoSource for the backend.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Returns the underlying raw descriptors. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.