pub struct TrialPermit { /* private fields */ }Expand description
A reservation blocks completion while a registration is being installed.
Dropping an uncommitted reservation rolls back that admission. A successful owner commits it only after storing the registration in its own directory.
Implementations§
Trait Implementations§
Source§impl Debug for TrialPermit
impl Debug for TrialPermit
Source§impl Drop for TrialPermit
impl Drop for TrialPermit
Auto Trait Implementations§
impl !RefUnwindSafe for TrialPermit
impl !UnwindSafe for TrialPermit
impl Freeze for TrialPermit
impl Send for TrialPermit
impl Sync for TrialPermit
impl Unpin for TrialPermit
impl UnsafeUnpin for TrialPermit
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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