pub struct NapiConfig {
pub busy_poll_us: u32,
pub prefer_busy_poll: bool,
}Expand description
Configuration du busy-poll NAPI (IoUring::register_napi).
Fields§
§busy_poll_us: u32Délai de busy-poll en microsecondes (busy_poll_to). 0 désactive.
prefer_busy_poll: boolPréfère le busy-poll (prefer_busy_poll).
Trait Implementations§
Source§impl Clone for NapiConfig
impl Clone for NapiConfig
Source§fn clone(&self) -> NapiConfig
fn clone(&self) -> NapiConfig
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 NapiConfig
impl Debug for NapiConfig
Source§impl Default for NapiConfig
impl Default for NapiConfig
Source§fn default() -> NapiConfig
fn default() -> NapiConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for NapiConfig
impl PartialEq for NapiConfig
impl Copy for NapiConfig
impl Eq for NapiConfig
impl StructuralPartialEq for NapiConfig
Auto Trait Implementations§
impl Freeze for NapiConfig
impl RefUnwindSafe for NapiConfig
impl Send for NapiConfig
impl Sync for NapiConfig
impl Unpin for NapiConfig
impl UnsafeUnpin for NapiConfig
impl UnwindSafe for NapiConfig
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