ImplDownloadItem

Trait ImplDownloadItem 

Source
pub trait ImplDownloadItem:
    Clone
    + Sized
    + Rc {
Show 20 methods // Required methods fn is_valid(&self) -> c_int; fn is_in_progress(&self) -> c_int; fn is_complete(&self) -> c_int; fn is_canceled(&self) -> c_int; fn is_interrupted(&self) -> c_int; fn interrupt_reason(&self) -> DownloadInterruptReason; fn current_speed(&self) -> i64; fn percent_complete(&self) -> c_int; fn total_bytes(&self) -> i64; fn received_bytes(&self) -> i64; fn start_time(&self) -> Basetime; fn end_time(&self) -> Basetime; fn full_path(&self) -> CefStringUserfree; fn id(&self) -> u32; fn url(&self) -> CefStringUserfree; fn original_url(&self) -> CefStringUserfree; fn suggested_file_name(&self) -> CefStringUserfree; fn content_disposition(&self) -> CefStringUserfree; fn mime_type(&self) -> CefStringUserfree; fn get_raw(&self) -> *mut _cef_download_item_t;
}

Required Methods§

Source

fn is_valid(&self) -> c_int

See _cef_download_item_t::is_valid for more documentation.

Source

fn is_in_progress(&self) -> c_int

See _cef_download_item_t::is_in_progress for more documentation.

Source

fn is_complete(&self) -> c_int

See _cef_download_item_t::is_complete for more documentation.

Source

fn is_canceled(&self) -> c_int

See _cef_download_item_t::is_canceled for more documentation.

Source

fn is_interrupted(&self) -> c_int

See _cef_download_item_t::is_interrupted for more documentation.

Source

fn interrupt_reason(&self) -> DownloadInterruptReason

See _cef_download_item_t::get_interrupt_reason for more documentation.

Source

fn current_speed(&self) -> i64

See _cef_download_item_t::get_current_speed for more documentation.

Source

fn percent_complete(&self) -> c_int

See _cef_download_item_t::get_percent_complete for more documentation.

Source

fn total_bytes(&self) -> i64

See _cef_download_item_t::get_total_bytes for more documentation.

Source

fn received_bytes(&self) -> i64

See _cef_download_item_t::get_received_bytes for more documentation.

Source

fn start_time(&self) -> Basetime

See _cef_download_item_t::get_start_time for more documentation.

Source

fn end_time(&self) -> Basetime

See _cef_download_item_t::get_end_time for more documentation.

Source

fn full_path(&self) -> CefStringUserfree

See _cef_download_item_t::get_full_path for more documentation.

Source

fn id(&self) -> u32

See _cef_download_item_t::get_id for more documentation.

Source

fn url(&self) -> CefStringUserfree

See _cef_download_item_t::get_url for more documentation.

Source

fn original_url(&self) -> CefStringUserfree

See _cef_download_item_t::get_original_url for more documentation.

Source

fn suggested_file_name(&self) -> CefStringUserfree

Source

fn content_disposition(&self) -> CefStringUserfree

Source

fn mime_type(&self) -> CefStringUserfree

See _cef_download_item_t::get_mime_type for more documentation.

Source

fn get_raw(&self) -> *mut _cef_download_item_t

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§