pub fn with_receipt_compressor<R>(f: impl FnOnce(&mut Compressor<'_>) -> R) -> R
Executes f with the thread-local receipt compressor on std, otherwise creates a new one.
f
std