Function wayland_backend::rs::wire::write_to_buffers
source ยท pub fn write_to_buffers(
msg: &Message<u32, RawFd>,
payload: &mut [u8],
fds: &mut Vec<OwnedFd>,
) -> Result<usize, MessageWriteError>
Expand description
Serialize the contents of this message into provided buffers
Returns the number of elements written in each buffer
Any serialized Fd will be dup()
-ed in the process