Trait gio::prelude::AsyncInitableExt
source · [−]pub trait AsyncInitableExt: 'static {
unsafe fn init_async<P: FnOnce(Result<(), Error>) + 'static>(
&self,
io_priority: Priority,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P
);
unsafe fn init_future(
&self,
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>;
}
Required Methods
sourceunsafe fn init_async<P: FnOnce(Result<(), Error>) + 'static>(