[go: up one dir, main page]

Trait InitableExt

Source
pub trait InitableExt:
    IsA<Initable>
    + Sealed
    + 'static {
    // Provided method
    unsafe fn init(
        &self,
        cancellable: Option<&impl IsA<Cancellable>>,
    ) -> Result<(), Error> { ... }
}

Provided Methods§

Source

unsafe fn init( &self, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<(), Error>

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§