pub trait MessageChannelMethods {
    // Required methods
    fn Port1(&self) -> Root<Dom<MessagePort>>;
    fn Port2(&self) -> Root<Dom<MessagePort>>;
    fn Constructor(
        global: &GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
    ) -> Root<Dom<MessageChannel>>;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§