pub trait DownloadExt: 'static {
Show 17 methods
fn cancel(&self);
fn destination(&self) -> Option<GString>;
fn elapsed_time(&self) -> f64;
fn estimated_progress(&self) -> f64;
fn received_data_length(&self) -> u64;
fn request(&self) -> Option<URIRequest>;
fn response(&self) -> Option<URIResponse>;
fn web_view(&self) -> Option<WebView>;
fn set_destination(&self, uri: &str);
fn connect_created_destination<F: Fn(&Self, &str) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_decide_destination<F: Fn(&Self, &str) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId;
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_destination_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_estimated_progress_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_response_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}