Function with_tls_decode_buf

pub fn with_tls_decode_buf<R, D>(
    f: impl FnOnce(&mut Vec<u8>, &mut Vec<<<D as ResourceDialect>::Handle as HandleFor<D>>::HandleInfo>) -> R,
) -> R
where D: ResourceDialect,
Expand description

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

This function may not be called recursively.