pub struct KeyedReservation<K: Eq + Hash + Clone> { /* private fields */ }Expand description
A reservation for a slot in the KeyedLimiter.
Trait Implementations§
Auto Trait Implementations§
impl<K> Freeze for KeyedReservation<K>where
K: Freeze,
impl<K> RefUnwindSafe for KeyedReservation<K>where
K: RefUnwindSafe,
impl<K> Send for KeyedReservation<K>where
K: Send,
impl<K> Sync for KeyedReservation<K>
impl<K> Unpin for KeyedReservation<K>where
K: Unpin,
impl<K> UnwindSafe for KeyedReservation<K>where
K: 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