pub struct ShutdownHandle<T> { /* private fields */ }
Expand description
Handle representing the shutdown process of a semaphore, allowing for extraction of the underlying resource.
Returned from Semaphore::shutdown
.
Implementations§
Source§impl<T> ShutdownHandle<T>
impl<T> ShutdownHandle<T>
Auto Trait Implementations§
impl<T> Freeze for ShutdownHandle<T>
impl<T> !RefUnwindSafe for ShutdownHandle<T>
impl<T> Send for ShutdownHandle<T>
impl<T> Sync for ShutdownHandle<T>
impl<T> Unpin for ShutdownHandle<T>
impl<T> !UnwindSafe for ShutdownHandle<T>
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