pub struct SharedProvision<C: Capability> { /* private fields */ }Expand description
A capability value owned through an Arc, with no borrow to keep alive.
Use with FrozenProcess::resolve_shared when the resolved value must be
'static (shared state, spawned tasks).
Implementations§
Auto Trait Implementations§
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