Function is_supported [src]

Is the operation supported on the running kernel.

Prototype

pub fn is_supported(self: @This(), op: IORING_OP) bool

Parameters

self: @This()op: IORING_OP

Source

pub fn is_supported(self: @This(), op: IORING_OP) bool { const i = @intFromEnum(op); if (i > @intFromEnum(self.last_op) or i >= self.ops_len) return false; return self.ops[i].is_supported(); }