pub struct ICoreWebView2DownloadOperation(/* private fields */);Implementations§
Source§impl ICoreWebView2DownloadOperation
impl ICoreWebView2DownloadOperation
pub unsafe fn add_BytesReceivedChanged<'a>( &self, eventhandler: impl IntoParam<'a, ICoreWebView2BytesReceivedChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>
pub unsafe fn remove_BytesReceivedChanged<'a>( &self, token: impl IntoParam<'a, EventRegistrationToken>, ) -> Result<(), Error>
pub unsafe fn add_EstimatedEndTimeChanged<'a>( &self, eventhandler: impl IntoParam<'a, ICoreWebView2EstimatedEndTimeChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>
pub unsafe fn remove_EstimatedEndTimeChanged<'a>( &self, token: impl IntoParam<'a, EventRegistrationToken>, ) -> Result<(), Error>
pub unsafe fn add_StateChanged<'a>( &self, eventhandler: impl IntoParam<'a, ICoreWebView2StateChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>
pub unsafe fn remove_StateChanged<'a>( &self, token: impl IntoParam<'a, EventRegistrationToken>, ) -> Result<(), Error>
pub unsafe fn get_Uri(&self, uri: *mut PWSTR) -> Result<(), Error>
pub unsafe fn get_ContentDisposition( &self, contentdisposition: *mut PWSTR, ) -> Result<(), Error>
pub unsafe fn get_MimeType(&self, mimetype: *mut PWSTR) -> Result<(), Error>
pub unsafe fn get_TotalBytesToReceive( &self, totalbytestoreceive: *mut i64, ) -> Result<(), Error>
pub unsafe fn get_BytesReceived( &self, bytesreceived: *mut i64, ) -> Result<(), Error>
pub unsafe fn get_EstimatedEndTime( &self, estimatedendtime: *mut PWSTR, ) -> Result<(), Error>
pub unsafe fn get_ResultFilePath( &self, resultfilepath: *mut PWSTR, ) -> Result<(), Error>
pub unsafe fn get_State( &self, downloadstate: *mut COREWEBVIEW2_DOWNLOAD_STATE, ) -> Result<(), Error>
pub unsafe fn get_InterruptReason( &self, interruptreason: *mut COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON, ) -> Result<(), Error>
pub unsafe fn Cancel(&self) -> Result<(), Error>
pub unsafe fn Pause(&self) -> Result<(), Error>
pub unsafe fn Resume(&self) -> Result<(), Error>
pub unsafe fn get_CanResume(&self, canresume: *mut BOOL) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for ICoreWebView2DownloadOperation
impl Clone for ICoreWebView2DownloadOperation
Source§fn clone(&self) -> ICoreWebView2DownloadOperation
fn clone(&self) -> ICoreWebView2DownloadOperation
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Interface for ICoreWebView2DownloadOperation
impl Interface for ICoreWebView2DownloadOperation
Source§impl PartialEq for ICoreWebView2DownloadOperation
impl PartialEq for ICoreWebView2DownloadOperation
Source§fn eq(&self, other: &ICoreWebView2DownloadOperation) -> bool
fn eq(&self, other: &ICoreWebView2DownloadOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ICoreWebView2DownloadOperation
impl StructuralPartialEq for ICoreWebView2DownloadOperation
Auto Trait Implementations§
impl Freeze for ICoreWebView2DownloadOperation
impl RefUnwindSafe for ICoreWebView2DownloadOperation
impl !Send for ICoreWebView2DownloadOperation
impl !Sync for ICoreWebView2DownloadOperation
impl Unpin for ICoreWebView2DownloadOperation
impl UnwindSafe for ICoreWebView2DownloadOperation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more