fidl::encoding

Function with_tls_encode_buf

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

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

This function may not be called recursively.