Function zvariant::from_slice_fds_for_signature
source ยท pub fn from_slice_fds_for_signature<'d, 'r: 'd, B, T>(
bytes: &'r [u8],
fds: Option<&[RawFd]>,
ctxt: EncodingContext<B>,
signature: &Signature<'_>,
) -> Result<T>
Expand description
Deserialize T
from a given slice of bytes containing file descriptor indices, with the given
signature.
Please note that actual file descriptors are not part of the encoding and need to be transferred via an out-of-band platform specific mechanism. The encoding only contain the indices of the file descriptors and hence the reason, caller must pass a slice of file descriptors.
This function is not available on Windows.