Function zvariant::from_slice_fds_for_dynamic_signature[][src]

pub fn from_slice_fds_for_dynamic_signature<'d, B, T>(
    bytes: &'d [u8],
    fds: Option<&[RawFd]>,
    ctxt: EncodingContext<B>,
    signature: &Signature<'d>
) -> Result<T> where
    B: ByteOrder,
    T: DynamicDeserialize<'d>, 
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.