pub struct SharedStore(/* private fields */);Expand description
Share this handle across runtimes to share records and a reentrancy lock. This synchronous API is intentionally single-threaded.
Implementations§
pub fn new(store: impl RecordingStore + 'static) -> Self
pub fn borrow(&self) -> Ref<'_, dyn RecordingStore>
Trait 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