pub trait ExtendPromiseType<'a> {
// Required method
fn new(ty: ReturnType<'a>) -> Self;
}
Expand description
Extension methods for PromiseType
Required Methods§
fn new(ty: ReturnType<'a>) -> Self
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.