pub enum NapiThreaded {
Disabled = 0,
Enabled = 1,
BusyPoll = 2,
}Available on crate feature
netdev only.Expand description
Enum - defines an integer enumeration, with values for each entry incrementing by 1, (e.g. 0, 1, 2, 3)
Variants§
Implementations§
Source§impl NapiThreaded
impl NapiThreaded
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for NapiThreaded
impl Clone for NapiThreaded
Source§fn clone(&self) -> NapiThreaded
fn clone(&self) -> NapiThreaded
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 NapiThreaded
impl Debug for NapiThreaded
impl Copy for NapiThreaded
Auto Trait Implementations§
impl Freeze for NapiThreaded
impl RefUnwindSafe for NapiThreaded
impl Send for NapiThreaded
impl Sync for NapiThreaded
impl Unpin for NapiThreaded
impl UnsafeUnpin for NapiThreaded
impl UnwindSafe for NapiThreaded
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