pub struct Storage<T, S: Strategy> { /* private fields */ }Expand description
Type used for storing data in a affinity-aware manner.
This type is used to manage the data for each affinity, depending on the chosen strategy.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, S> Freeze for Storage<T, S>
impl<T, S> RefUnwindSafe for Storage<T, S>where
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, S> Send for Storage<T, S>
impl<T, S> Sync for Storage<T, S>
impl<T, S> Unpin for Storage<T, S>
impl<T, S> UnwindSafe for Storage<T, S>where
S: UnwindSafe,
T: UnwindSafe,
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