pub fn is_supported(self: @This(), op: IORING_OP) bool self: @This()op: IORING_OP7769
7770
7771
7772
7773
7774 pub fn is_supported(self: @This(), op: IORING_OP) bool {
const i = @backingInt(op);
if (i > @backingInt(self.last_op) or i >= self.ops_len)
return false;
return self.ops[i].is_supported();
}
Is the operation supported on the running kernel.