pub fn with_compression_level<T>(
level: WireCompressionLevel,
f: impl FnOnce() -> T,
) -> TExpand description
Set the compression effort for the duration of f. Scoped so it never leaks.
pub fn with_compression_level<T>(
level: WireCompressionLevel,
f: impl FnOnce() -> T,
) -> TSet the compression effort for the duration of f. Scoped so it never leaks.