Lines Matching refs:CountDrops
32 struct CountDrops(Arc<AtomicU32>); struct
34 impl CountDrops { implementation
36 CountDrops(drops.clone()) in new()
40 impl Drop for CountDrops { implementation
46 impl fmt::Display for CountDrops { implementation
52 impl core::error::Error for CountDrops {} implementation
95 let error = Error::new(CountDrops::new(&drops)); in new_drops()
140 let error = Error::msg(CountDrops::new(&drops)); in msg_drops()
465 let error = Error::new(CountDrops::new(&drops)) in downcast_drops_everything()
466 .context(CountDrops::new(&drops)) in downcast_drops_everything()
467 .context(CountDrops::new(&drops)); in downcast_drops_everything()
469 let c = error.downcast::<CountDrops>().unwrap(); in downcast_drops_everything()
476 let error = Error::msg(CountDrops(drops.clone())) in downcast_drops_everything()
477 .context(CountDrops(drops.clone())) in downcast_drops_everything()
478 .context(CountDrops(drops.clone())); in downcast_drops_everything()
480 let c = error.downcast::<CountDrops>().unwrap(); in downcast_drops_everything()