Trait IsLoopRc

Source
pub unsafe trait IsLoopRc:
    Clone
    + AsRef<Loop>
    + 'static { }
Expand description

Trait implemented by objects that implement a pw_loop and are reference counted in some way.

§Safety

The Loop returned by the implementation of AsRef<Loop> must remain valid as long as any clone of the trait implementor is still alive.

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§