Trait webkit2gtk::WebResourceExt[][src]

pub trait WebResourceExt: Sized {
    fn get_data<'a, P: Into<Option<&'a Cancellable>>, Q: FnOnce(Result<(Vec<u8>, usize), Error>) + Send + 'static>(
        &self,
        cancellable: P,
        callback: Q
    );
fn get_response(&self) -> Option<URIResponse>;
fn get_uri(&self) -> Option<String>;
fn connect_failed<F: Fn(&Self, &Error) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_finished<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_received_data<F: Fn(&Self, u64) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_sent_request<F: Fn(&Self, &URIRequest, &URIResponse) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_response_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_uri_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required Methods

Implementors