pub struct PolyfillExecutor;Expand description
Polyfill executor implementation using async-executor.
This executor spins up a pool of background worker threads and a synthetic “main thread” to emulate the APIs that platforms like Apple expose. Because it is not backed by a real OS event loop, its behavior differs from the native executors and should be considered a portability fallback.
Trait Implementations§
Source§impl Clone for PolyfillExecutor
impl Clone for PolyfillExecutor
Source§fn clone(&self) -> PolyfillExecutor
fn clone(&self) -> PolyfillExecutor
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 PolyfillExecutor
impl Debug for PolyfillExecutor
Source§impl Default for PolyfillExecutor
impl Default for PolyfillExecutor
Source§fn default() -> PolyfillExecutor
fn default() -> PolyfillExecutor
Returns the “default value” for a type. Read more
Source§impl Executor for PolyfillExecutor
impl Executor for PolyfillExecutor
impl Copy for PolyfillExecutor
Auto Trait Implementations§
impl Freeze for PolyfillExecutor
impl RefUnwindSafe for PolyfillExecutor
impl Send for PolyfillExecutor
impl Sync for PolyfillExecutor
impl Unpin for PolyfillExecutor
impl UnwindSafe for PolyfillExecutor
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