pub(super) struct ResponseQueue<T> {
queue: Mutex<VecDeque<T>>,
condvar: CondVar,
}
Expand description
A queue for handling responses
Fields§
§queue: Mutex<VecDeque<T>>
§condvar: CondVar
Implementations§
Auto Trait Implementations§
impl<T> !Freeze for ResponseQueue<T>
impl<T> !RefUnwindSafe for ResponseQueue<T>
impl<T> Send for ResponseQueue<T>where
T: Send,
impl<T> Sync for ResponseQueue<T>where
T: Send,
impl<T> Unpin for ResponseQueue<T>where
T: Unpin,
impl<T> UnwindSafe for ResponseQueue<T>where
T: 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