#[non_exhaustive]pub enum RegisterOp {
Buffers,
Files,
Eventfd,
Personality,
ProvidedBuffers,
RingFd,
SyncCancel,
Probe,
}Expand description
Register opcode qu’un ring confiné peut être autorisé à effectuer
(RESTRICTION_REGISTER_OP). Newtype typé plutôt qu’un u8 magique
(ADR-021 conv. 3 : chaque opération est une variante nommée). #[non_exhaustive]
: de futurs kernels peuvent en ajouter.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Buffers
IORING_REGISTER_BUFFERS2 (15) — buffers enregistrés (Temps 3a).
Files
IORING_REGISTER_FILES2 (13) — table de FD fixes (Temps 3a).
Eventfd
IORING_REGISTER_EVENTFD (4) — eventfd de complétion (Temps 3a).
Personality
IORING_REGISTER_PERSONALITY (9) — identité enregistrée (Temps 3a).
ProvidedBuffers
IORING_REGISTER_PBUF_RING (22) — buffers fournis ring-mapped (Temps 3b).
RingFd
IORING_REGISTER_RING_FDS (20) — enregistrement du ring fd (Temps 3a/3e).
SyncCancel
IORING_REGISTER_SYNC_CANCEL (24) — annulation synchrone (Temps 2c/3d).
Probe
IORING_REGISTER_PROBE (8) — introspection des opcodes (Temps 1).
Trait Implementations§
Source§impl Clone for RegisterOp
impl Clone for RegisterOp
Source§fn clone(&self) -> RegisterOp
fn clone(&self) -> RegisterOp
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more