struct ReadingGuard<'a>(&'a AtomicUsize);Expand description
Marks an aggregated read in flight until dropped, including when the read is cancelled.
Tuple Fields§
§0: &'a AtomicUsizeImplementations§
Source§impl<'a> ReadingGuard<'a>
impl<'a> ReadingGuard<'a>
fn new(reading: &'a AtomicUsize) -> Self
Trait Implementations§
Source§impl Drop for ReadingGuard<'_>
impl Drop for ReadingGuard<'_>
Auto Trait Implementations§
impl<'a> Freeze for ReadingGuard<'a>
impl<'a> RefUnwindSafe for ReadingGuard<'a>
impl<'a> Send for ReadingGuard<'a>
impl<'a> Sync for ReadingGuard<'a>
impl<'a> Unpin for ReadingGuard<'a>
impl<'a> UnsafeUnpin for ReadingGuard<'a>
impl<'a> UnwindSafe for ReadingGuard<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Consume a handle, getting back the initial
Arc<> Read more