pub fn with_tls_encoded<T: TypeMarker, D: ResourceDialect, Out>(
val: impl Encode<T, D>,
f: impl FnOnce(&mut Vec<u8>, &mut Vec<<D::ProxyChannel as ProxyChannelFor<D>>::HandleDisposition>) -> Result<Out>,
) -> Result<Out>
Expand description
Encodes the provided type into the thread-local encoding buffers.
This function may not be called recursively.