gio::subclass::prelude

Trait AsyncInitableImpl

Source
pub trait AsyncInitableImpl: ObjectImpl + ObjectSubclass<Type: IsA<AsyncInitable>> {
    // Provided method
    fn init_future(
        &self,
        io_priority: Priority,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static>> { ... }
}

Provided Methods§

Source

fn init_future( &self, io_priority: Priority, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§