pub trait PromiseRejectionEventMethods {
    // Required methods
    fn Promise(&self) -> Rc<Promise>;
    fn Reason(&self, cx: SafeJSContext) -> JSVal;
    fn IsTrusted(&self) -> bool;
}

Required Methods§

source

fn Promise(&self) -> Rc<Promise>

source

fn Reason(&self, cx: SafeJSContext) -> JSVal

source

fn IsTrusted(&self) -> bool

Implementors§