The efficiency of dust trapping in ringed protoplanetary discs