pub fn with_tls_encoded<T: TypeMarker, Out>(
    val: impl Encode<T>,
    f: impl FnOnce(&mut Vec<u8>, &mut Vec<HandleDisposition<'static>>) -> Result<Out>
) -> Result<Out>
Expand description

Encodes the provided type into the thread-local encoding buffers.

This function may not be called recursively.