pub trait NavigationPreloadManagerMethods {
    // Required methods
    fn Enable(&self, _comp: InRealm<'_>, _can_gc: CanGc) -> Rc<Promise>;
    fn Disable(&self, _comp: InRealm<'_>, _can_gc: CanGc) -> Rc<Promise>;
    fn SetHeaderValue(
        &self,
        value: ByteString,
        _comp: InRealm<'_>,
        _can_gc: CanGc,
    ) -> Rc<Promise>;
    fn GetState(&self, _comp: InRealm<'_>, _can_gc: CanGc) -> Rc<Promise>;
}

Required Methods§

source

fn Enable(&self, _comp: InRealm<'_>, _can_gc: CanGc) -> Rc<Promise>

source

fn Disable(&self, _comp: InRealm<'_>, _can_gc: CanGc) -> Rc<Promise>

source

fn SetHeaderValue( &self, value: ByteString, _comp: InRealm<'_>, _can_gc: CanGc, ) -> Rc<Promise>

source

fn GetState(&self, _comp: InRealm<'_>, _can_gc: CanGc) -> Rc<Promise>

Implementors§