pub struct ReconfigGuard<'g> { /* private fields */ }Expand description
RAII guard returned by ReconfigInFlight::try_lock. Releases the
slot when dropped.
The 'g lifetime keeps the guard tied to the ReconfigInFlight so the
borrow checker prevents the guard from outliving the controller (which
would leak the slot permanently).
Trait Implementations§
Source§impl Drop for ReconfigGuard<'_>
impl Drop for ReconfigGuard<'_>
Auto Trait Implementations§
impl<'g> Freeze for ReconfigGuard<'g>
impl<'g> !RefUnwindSafe for ReconfigGuard<'g>
impl<'g> Send for ReconfigGuard<'g>
impl<'g> Sync for ReconfigGuard<'g>
impl<'g> Unpin for ReconfigGuard<'g>
impl<'g> UnsafeUnpin for ReconfigGuard<'g>
impl<'g> !UnwindSafe for ReconfigGuard<'g>
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