Searched refs:DropCounter (Results 1 – 7 of 7) sorted by relevance
18 struct DropCounter { struct24 impl PartialEq for DropCounter { argument30 impl PartialOrd for DropCounter { implementation39 impl Ord for DropCounter { implementation45 impl Drop for DropCounter { implementation134 .map(|id| DropCounter { in sort_panic_safe()
168 struct DropCounter<'a>(&'a Cell<i32>); in into_iter_drop() struct170 impl<'a> Drop for DropCounter<'a> { in into_iter_drop() implementation178 let mut v: SmallVec<[DropCounter<'_>; 2]> = SmallVec::new(); in into_iter_drop()179 v.push(DropCounter(&cell)); in into_iter_drop()186 let mut v: SmallVec<[DropCounter<'_>; 2]> = SmallVec::new(); in into_iter_drop()187 v.push(DropCounter(&cell)); in into_iter_drop()188 v.push(DropCounter(&cell)); in into_iter_drop()195 let mut v: SmallVec<[DropCounter<'_>; 2]> = SmallVec::new(); in into_iter_drop()196 v.push(DropCounter(&cell)); in into_iter_drop()197 v.push(DropCounter(&cell)); in into_iter_drop()[all …]
379 struct DropCounter; in drops() struct381 impl Drop for DropCounter { in drops() implementation394 let (s, r) = unbounded::<DropCounter>(); in drops()405 s.send(DropCounter).unwrap(); in drops()412 s.try_send(DropCounter).unwrap(); in drops()
489 struct DropCounter; in drops() struct491 impl Drop for DropCounter { in drops() implementation504 let (s, r) = bounded::<DropCounter>(50); in drops()515 s.send(DropCounter).unwrap(); in drops()522 s.send(DropCounter).unwrap(); in drops()
391 struct DropCounter; in drops() struct393 impl Drop for DropCounter { in drops() implementation405 let (s, r) = bounded::<DropCounter>(0); in drops()416 s.send(DropCounter).unwrap(); in drops()
83 let counter = DropCounter::default(); in produces_items_with_no_complete()290 let counter = DropCounter::default(); in left_produces_fewer_items_drops()316 struct DropCounter { struct323 impl DropCounter { argument
349 let a = vec![DropCounter(&c); 10]; in check_drops()362 struct DropCounter<'a>(&'a AtomicUsize); in check_drops() struct363 impl<'a> Drop for DropCounter<'a> { in check_drops() implementation370 impl<'a> ProducerCallback<DropCounter<'a>> for Partial { in check_drops()374 P: Producer<Item = DropCounter<'a>>, in check_drops()