How to replace deprecated Picture::new_for_pixbuf method?

Thanks for a tip,
just implemented by following way in Rust:

Pixbuf::from_stream_async(
    &memory_input_stream,
    Some(&cancellable),
    move |result| {
        match result {
            Ok(buffer) => {
                Picture::for_paintable(
                    &Texture::for_pixbuf(&buffer)
                );

Some related solution