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 · 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 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
Source§impl PartialEq for TaskExecutorBackend
impl PartialEq for TaskExecutorBackend
impl Copy for TaskExecutorBackend
impl Eq for TaskExecutorBackend
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
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.