#[repr(transparent)]
pub struct Restriction(_);
Expand description

An allowed feature of io_uring. You can set the allowed features with register_restrictions.

Requires the unstable feature.

Implementations

Allow an io_uring_register opcode.

Allow a submission queue event opcode.

Require the given submission queue event flags. These flags must be set on every submission.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. 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.