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