12345678910111213141516171819202122232425262728module juptune.event.iouring;
struct IoUringCompletion
{
/++ ENUMS ++/
/// Ignore for now: still debating whether this is a good idea or not.
enum JuptuneFlags : ubyte
{
///
none = cast(ubyte)0u,
///
threadWasCanceled = cast(ubyte)1u
}
/++ VARIABLES ++/
/// Any additional flags relevant to the command.
uint flags;
/// A static completion who's intention is to be used when you have to accept a CQE, but don't really care about its result.
static IoUringCompletion ignore;
/// Ignore for now: still debating whether this is a good idea or not.
IoUringCompletion.JuptuneFlags juptuneFlags;
/// The result of the command
int result;
/// The user data from the source SQE
void* userData;
}
Describes a completion event.
| Name | Description |
|---|---|
| JuptuneFlags |
Ignore for now: still debating whether this is a good idea or not. |
| Name | Description |
|---|---|
| flags |
Any additional flags relevant to the command. |
| ignore |
A static completion who's intention is to be used when you have to accept a CQE, but don't really care about its result. |
| juptuneFlags |
Ignore for now: still debating whether this is a good idea or not. |
| result |
The result of the command |
| userData |
The user data from the source SQE |