fn serialize_os_ipc_receiver<S>(
    os_receiver: &OsIpcReceiver,
    serializer: S
) -> Result<S::Ok, S::Error>where
    S: Serializer,