pub fn content_serialize_async<R: FnOnce(Result<(), Error>) + 'static>(
    stream: &impl IsA<OutputStream>,
    mime_type: &str,
    value: &Value,
    io_priority: Priority,
    cancellable: Option<&impl IsA<Cancellable>>,
    callback: R
)