Skip to main content

with_tx_compressor

Function with_tx_compressor 

Source
pub fn with_tx_compressor<R>(f: impl FnOnce(&mut Compressor<'_>) -> R) -> R
Expand description

Executes f with the thread-local transaction compressor on std, otherwise creates a new one.