zvariant

Function serialized_size_fds

source
pub fn serialized_size_fds<B, T>(
    ctxt: EncodingContext<B>,
    value: &T,
) -> Result<(usize, usize)>
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.