pub struct DefaultThreadPinner;
Trait Implementations§
Source§impl ThreadPinner for DefaultThreadPinner
impl ThreadPinner for DefaultThreadPinner
fn pin_current_thread_to(&self, core_id: LogicalCoreId) -> bool
fn pin_current_thread_to_cpuset(&self, core_ids: &[LogicalCoreId]) -> bool
Auto Trait Implementations§
impl Freeze for DefaultThreadPinner
impl RefUnwindSafe for DefaultThreadPinner
impl Send for DefaultThreadPinner
impl Sync for DefaultThreadPinner
impl Unpin for DefaultThreadPinner
impl UnwindSafe for DefaultThreadPinner
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