Skip to main content

with_codec

Function with_codec 

Source
pub fn with_codec<R>(f: impl FnOnce(&mut Codec) -> R) -> R
Expand description

Run f with the calling thread’s codec.