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§
Sourcefn is_valid(&self) -> c_int
fn is_valid(&self) -> c_int
See _cef_download_item_t::is_valid for more documentation.
Sourcefn is_in_progress(&self) -> c_int
fn is_in_progress(&self) -> c_int
See _cef_download_item_t::is_in_progress for more documentation.
Sourcefn is_complete(&self) -> c_int
fn is_complete(&self) -> c_int
See _cef_download_item_t::is_complete for more documentation.
Sourcefn is_canceled(&self) -> c_int
fn is_canceled(&self) -> c_int
See _cef_download_item_t::is_canceled for more documentation.
Sourcefn is_interrupted(&self) -> c_int
fn is_interrupted(&self) -> c_int
See _cef_download_item_t::is_interrupted for more documentation.
Sourcefn interrupt_reason(&self) -> DownloadInterruptReason
fn interrupt_reason(&self) -> DownloadInterruptReason
See _cef_download_item_t::get_interrupt_reason for more documentation.
Sourcefn current_speed(&self) -> i64
fn current_speed(&self) -> i64
See _cef_download_item_t::get_current_speed for more documentation.
Sourcefn percent_complete(&self) -> c_int
fn percent_complete(&self) -> c_int
See _cef_download_item_t::get_percent_complete for more documentation.
Sourcefn total_bytes(&self) -> i64
fn total_bytes(&self) -> i64
See _cef_download_item_t::get_total_bytes for more documentation.
Sourcefn received_bytes(&self) -> i64
fn received_bytes(&self) -> i64
See _cef_download_item_t::get_received_bytes for more documentation.
Sourcefn start_time(&self) -> Basetime
fn start_time(&self) -> Basetime
See _cef_download_item_t::get_start_time for more documentation.
Sourcefn end_time(&self) -> Basetime
fn end_time(&self) -> Basetime
See _cef_download_item_t::get_end_time for more documentation.
Sourcefn full_path(&self) -> CefStringUserfree
fn full_path(&self) -> CefStringUserfree
See _cef_download_item_t::get_full_path for more documentation.
Sourcefn id(&self) -> u32
fn id(&self) -> u32
See _cef_download_item_t::get_id for more documentation.
Sourcefn url(&self) -> CefStringUserfree
fn url(&self) -> CefStringUserfree
See _cef_download_item_t::get_url for more documentation.
Sourcefn original_url(&self) -> CefStringUserfree
fn original_url(&self) -> CefStringUserfree
See _cef_download_item_t::get_original_url for more documentation.
Sourcefn suggested_file_name(&self) -> CefStringUserfree
fn suggested_file_name(&self) -> CefStringUserfree
See _cef_download_item_t::get_suggested_file_name for more documentation.
Sourcefn content_disposition(&self) -> CefStringUserfree
fn content_disposition(&self) -> CefStringUserfree
See _cef_download_item_t::get_content_disposition for more documentation.
Sourcefn mime_type(&self) -> CefStringUserfree
fn mime_type(&self) -> CefStringUserfree
See _cef_download_item_t::get_mime_type for more documentation.
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.