pub struct PerProcess;Expand description
A strategy that stores data per process.
This strategy does not differentiate between affinities, storing all data in a single slot.
Trait Implementations§
Source§impl Clone for PerProcess
impl Clone for PerProcess
Source§fn clone(&self) -> PerProcess
fn clone(&self) -> PerProcess
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 PerProcess
impl Debug for PerProcess
Source§impl Hash for PerProcess
impl Hash for PerProcess
Source§impl PartialEq for PerProcess
impl PartialEq for PerProcess
Source§impl Strategy for PerProcess
impl Strategy for PerProcess
Source§fn index(_affinity: PinnedAffinity) -> usize
fn index(_affinity: PinnedAffinity) -> usize
Returns the slot index for the given affinity.
Source§fn count(_affinity: PinnedAffinity) -> usize
fn count(_affinity: PinnedAffinity) -> usize
Returns the total number of slots for the given affinity.
impl Copy for PerProcess
impl Eq for PerProcess
impl StructuralPartialEq for PerProcess
Auto Trait Implementations§
impl Freeze for PerProcess
impl RefUnwindSafe for PerProcess
impl Send for PerProcess
impl Sync for PerProcess
impl Unpin for PerProcess
impl UnwindSafe for PerProcess
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