Function zvariant::serialized_size_fds
source · pub fn serialized_size_fds<B, T>(
ctxt: EncodingContext<B>,
value: &T
) -> Result<(usize, usize)>where
B: ByteOrder,
T: Serialize + DynamicType + ?Sized,
Expand description
Calculate the serialized size of T
that (potentially) contains FDs.
Returns the serialized size of T
and the number of FDs.
This function is not available on Windows.