pub trait ResponsePolicyDecisionExt: 'static {
    // Required methods
    fn request(&self) -> Option<URIRequest>;
    fn response(&self) -> Option<URIResponse>;
    fn is_main_frame_main_resource(&self) -> bool;
    fn is_mime_type_supported(&self) -> bool;
    fn connect_request_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
    fn connect_response_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required Methods§

source

fn request(&self) -> Option<URIRequest>

source

fn response(&self) -> Option<URIResponse>

source

fn is_main_frame_main_resource(&self) -> bool

Available on crate feature v2_40 only.
source

fn is_mime_type_supported(&self) -> bool

Available on crate feature v2_4 only.
source

fn connect_request_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_response_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§