pub fn to_bytes_fds<B, T>(
ctxt: EncodingContext<B>,
value: &T,
) -> Result<(Vec<u8>, Vec<RawFd>)>
Expand description
Serialize T
that (potentially) contains FDs, as a byte vector.
The returned file descriptor needs to be transferred via an out-of-band platform specific mechanism.
This function is not available on Windows.