pub struct SqeFlagSet { /* private fields */ }Expand description
Ensemble de drapeaux IOSQE_* pour les restrictions de drapeaux SQE
(RestrictionSet::allow_sqe_flags / RestrictionSet::require_sqe_flags).
Default = aucun drapeau. Builder chaînable. Partage la représentation des
drapeaux avec SubmitOptions.
Implementations§
Source§impl SqeFlagSet
impl SqeFlagSet
Sourcepub fn fixed_file(self) -> Self
pub fn fixed_file(self) -> Self
IOSQE_FIXED_FILE : le fd du SQE est un index de slot fixe. En
require_sqe_flags, interdit les FD bruts (force les FD enregistrés).
Sourcepub fn force_async(self) -> Self
pub fn force_async(self) -> Self
IOSQE_ASYNC : force l’exécution sur le pool io-wq.
Sourcepub fn buffer_select(self) -> Self
pub fn buffer_select(self) -> Self
IOSQE_BUFFER_SELECT : sélection automatique d’un buffer fourni (Temps 3b).
Sourcepub fn skip_cqe_on_success(self) -> Self
pub fn skip_cqe_on_success(self) -> Self
IOSQE_CQE_SKIP_SUCCESS : pas de CQE en cas de succès.
Trait Implementations§
Source§impl Clone for SqeFlagSet
impl Clone for SqeFlagSet
Source§fn clone(&self) -> SqeFlagSet
fn clone(&self) -> SqeFlagSet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SqeFlagSet
impl Debug for SqeFlagSet
Source§impl Default for SqeFlagSet
impl Default for SqeFlagSet
Source§fn default() -> SqeFlagSet
fn default() -> SqeFlagSet
Returns the “default value” for a type. Read more
impl Copy for SqeFlagSet
Auto Trait Implementations§
impl Freeze for SqeFlagSet
impl RefUnwindSafe for SqeFlagSet
impl Send for SqeFlagSet
impl Sync for SqeFlagSet
impl Unpin for SqeFlagSet
impl UnsafeUnpin for SqeFlagSet
impl UnwindSafe for SqeFlagSet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more