Trait script::dom::bindings::codegen::Bindings::NavigationPreloadManagerBinding::NavigationPreloadManager_Binding::NavigationPreloadManagerMethods
source · pub trait NavigationPreloadManagerMethods<D: DomTypes> {
// 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>;
}