pub trait ResponsePolicyDecisionExt: IsA<ResponsePolicyDecision> + Sealed + 'static {
// Provided 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 { ... }
}
Provided Methods§
fn request(&self) -> Option<URIRequest>
fn response(&self) -> Option<URIResponse>
sourcefn is_main_frame_main_resource(&self) -> bool
fn is_main_frame_main_resource(&self) -> bool
Available on crate feature
v2_40
only.sourcefn is_mime_type_supported(&self) -> bool
fn is_mime_type_supported(&self) -> bool
Available on crate feature
v2_4
only.fn connect_request_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_response_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Object Safety§
This trait is not object safe.