Struct hyper::client::pool::IdlePopper
source · struct IdlePopper<'a, T> {
key: &'a (Scheme, Authority),
list: &'a mut Vec<Idle<T>>,
}
Expand description
Pop off this list, looking for a usable connection that hasn’t expired.
Fields§
§key: &'a (Scheme, Authority)
§list: &'a mut Vec<Idle<T>>
Implementations§
source§impl<'a, T: Poolable + 'a> IdlePopper<'a, T>
impl<'a, T: Poolable + 'a> IdlePopper<'a, T>
fn pop(self, expiration: &Expiration) -> Option<Idle<T>>
Auto Trait Implementations§
impl<'a, T> Freeze for IdlePopper<'a, T>
impl<'a, T> RefUnwindSafe for IdlePopper<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for IdlePopper<'a, T>where
T: Send,
impl<'a, T> Sync for IdlePopper<'a, T>where
T: Sync,
impl<'a, T> Unpin for IdlePopper<'a, T>
impl<'a, T> !UnwindSafe for IdlePopper<'a, 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