pub enum NapiTracking {
Dynamic,
Static,
Inactive,
}Expand description
Strategy the kernel uses to track which NAPI instances to busy-poll, used by
[Napi::tracking].
Variants§
Dynamic
The kernel discovers NAPI ids automatically from the sockets used on the ring.
Static
The application manages the polled NAPI id set explicitly.
Inactive
NAPI ids are not tracked.
Trait Implementations§
Source§impl Clone for NapiTracking
impl Clone for NapiTracking
Source§fn clone(&self) -> NapiTracking
fn clone(&self) -> NapiTracking
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NapiTracking
Source§impl Debug for NapiTracking
impl Debug for NapiTracking
impl Eq for NapiTracking
Source§impl PartialEq for NapiTracking
impl PartialEq for NapiTracking
Source§fn eq(&self, other: &NapiTracking) -> bool
fn eq(&self, other: &NapiTracking) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NapiTracking
Auto Trait Implementations§
impl Freeze for NapiTracking
impl RefUnwindSafe for NapiTracking
impl Send for NapiTracking
impl Sync for NapiTracking
impl Unpin for NapiTracking
impl UnsafeUnpin for NapiTracking
impl UnwindSafe for NapiTracking
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