pub trait DownloadExt: 'static {
Show 20 methods // Required methods fn cancel(&self); fn allows_overwrite(&self) -> bool; 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_allow_overwrite(&self, allowed: bool); fn set_destination(&self, destination: &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_allow_overwrite_notify<F: Fn(&Self) + '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;
}

Required Methods§

source

fn cancel(&self)

source

fn allows_overwrite(&self) -> bool

Available on crate feature v2_6 only.
source

fn destination(&self) -> Option<GString>

source

fn elapsed_time(&self) -> f64

source

fn estimated_progress(&self) -> f64

source

fn received_data_length(&self) -> u64

source

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

source

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

source

fn web_view(&self) -> Option<WebView>

source

fn set_allow_overwrite(&self, allowed: bool)

Available on crate feature v2_6 only.
source

fn set_destination(&self, destination: &str)

source

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

source

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

source

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

source

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

source

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

source

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

Available on crate feature v2_6 only.
source

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

source

fn connect_estimated_progress_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§