pub enum TaskExecutorBackend {
Spawned,
EffectQueue,
}Expand description
Configuration for effect queue scheduling.
Variants§
Spawned
Spawn one native thread per task and reap finished handles on the main loop.
EffectQueue
Route tasks through the runtime’s queueing scheduler.
Trait Implementations§
Source§impl Clone for TaskExecutorBackend
impl Clone for TaskExecutorBackend
Source§fn clone(&self) -> TaskExecutorBackend
fn clone(&self) -> TaskExecutorBackend
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 TaskExecutorBackend
Source§impl Debug for TaskExecutorBackend
impl Debug for TaskExecutorBackend
Source§impl Default for TaskExecutorBackend
impl Default for TaskExecutorBackend
Source§fn default() -> TaskExecutorBackend
fn default() -> TaskExecutorBackend
Returns the “default value” for a type. Read more
impl Eq for TaskExecutorBackend
Source§impl PartialEq for TaskExecutorBackend
impl PartialEq for TaskExecutorBackend
Source§fn eq(&self, other: &TaskExecutorBackend) -> bool
fn eq(&self, other: &TaskExecutorBackend) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TaskExecutorBackend
Auto Trait Implementations§
impl Freeze for TaskExecutorBackend
impl RefUnwindSafe for TaskExecutorBackend
impl Send for TaskExecutorBackend
impl Sync for TaskExecutorBackend
impl Unpin for TaskExecutorBackend
impl UnsafeUnpin for TaskExecutorBackend
impl UnwindSafe for TaskExecutorBackend
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.