Trait PromiseExt

Source
pub trait PromiseExt: Sized {
    // Required method
    fn and_maybe(self, p: Option<Promise>) -> Promise;
}

Required Methods§

Source

fn and_maybe(self, p: Option<Promise>) -> Promise

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.

Implementations on Foreign Types§

Source§

impl PromiseExt for Promise

Source§

fn and_maybe(self, p: Option<Promise>) -> Promise

Implementors§