Uring.put

Similar to put(SubmissionEntry) but in this case we can provide our custom type (args) to be filled to next SubmissionEntry in queue.

Fields in the provided type must use the same names as in SubmissionEntry to be automagically copied.

  1. Uring put(auto ref SubmissionEntry entry)
  2. Uring put(auto ref OP op)
    struct Uring
    nothrow @nogc ref
    put
    return
    (
    OP
    )
    (
    auto ref OP op
    )
    if (
    !is(OP == SubmissionEntry)
    )

Parameters

op
Type: OP

Custom operation definition.

Return Value

Type: Uring

Meta