pub struct Permit<'a>(/* private fields */);Expand description
One of the MAX_VALIDATIONS validation places, given back on drop.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Permit<'a>
impl<'a> Freeze for Permit<'a>
impl<'a> Move for Permit<'a>
impl<'a> RefUnwindSafe for Permit<'a>where
Mutex<Stdout>: RefUnwindSafe,
Mutex<HashMap<String, Arc<Atomic<bool>>>>: RefUnwindSafe,
Atomic<bool>: RefUnwindSafe,
Atomic<usize>: RefUnwindSafe,
Mutex<usize>: RefUnwindSafe,
Condvar: RefUnwindSafe,
impl<'a> Send for Permit<'a>
impl<'a> Sync for Permit<'a>
impl<'a> Unpin for Permit<'a>
impl<'a> UnsafeUnpin for Permit<'a>where
&'a Server: UnsafeUnpin,
impl<'a> UnwindSafe for Permit<'a>where
&'a Server: UnwindSafe,
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