pub struct PinnedDispatcher { /* private fields */ }Expand description
Dedicated single-thread runtime for actors that require strict affinity.
Implementations§
Trait Implementations§
Source§impl Dispatcher for PinnedDispatcher
impl Dispatcher for PinnedDispatcher
fn spawn_task(&self, task: BoxFuture<'static, ()>) -> DispatcherHandle
fn throughput(&self) -> u32
Source§fn throughput_deadline(&self) -> Option<Duration>
fn throughput_deadline(&self) -> Option<Duration>
None is unbounded.Auto Trait Implementations§
impl Freeze for PinnedDispatcher
impl RefUnwindSafe for PinnedDispatcher
impl Send for PinnedDispatcher
impl Sync for PinnedDispatcher
impl Unpin for PinnedDispatcher
impl UnsafeUnpin for PinnedDispatcher
impl UnwindSafe for PinnedDispatcher
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