Function with_tls_encode_buf

pub fn with_tls_encode_buf<R, D>(
    f: impl FnOnce(&mut Vec<u8>, &mut Vec<<<D as ResourceDialect>::ProxyChannel as ProxyChannelFor<D>>::HandleDisposition>) -> R,
) -> R
where D: ResourceDialect,
Expand description

Acquire a mutable reference to the thread-local buffers used for encoding.

This function may not be called recursively.