pub trait ICoreWebView2DownloadOperation_Impl: Sized {
Show 19 methods // Required methods fn add_BytesReceivedChanged( &self, eventhandler: Option<&ICoreWebView2BytesReceivedChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>; fn remove_BytesReceivedChanged( &self, token: &EventRegistrationToken, ) -> Result<()>; fn add_EstimatedEndTimeChanged( &self, eventhandler: Option<&ICoreWebView2EstimatedEndTimeChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>; fn remove_EstimatedEndTimeChanged( &self, token: &EventRegistrationToken, ) -> Result<()>; fn add_StateChanged( &self, eventhandler: Option<&ICoreWebView2StateChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>; fn remove_StateChanged(&self, token: &EventRegistrationToken) -> Result<()>; fn Uri(&self, uri: *mut PWSTR) -> Result<()>; fn ContentDisposition(&self, contentdisposition: *mut PWSTR) -> Result<()>; fn MimeType(&self, mimetype: *mut PWSTR) -> Result<()>; fn TotalBytesToReceive(&self, totalbytestoreceive: *mut i64) -> Result<()>; fn BytesReceived(&self, bytesreceived: *mut i64) -> Result<()>; fn EstimatedEndTime(&self, estimatedendtime: *mut PWSTR) -> Result<()>; fn ResultFilePath(&self, resultfilepath: *mut PWSTR) -> Result<()>; fn State( &self, downloadstate: *mut COREWEBVIEW2_DOWNLOAD_STATE, ) -> Result<()>; fn InterruptReason( &self, interruptreason: *mut COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON, ) -> Result<()>; fn Cancel(&self) -> Result<()>; fn Pause(&self) -> Result<()>; fn Resume(&self) -> Result<()>; fn CanResume(&self, canresume: *mut BOOL) -> Result<()>;
}

Required Methods§

source

fn add_BytesReceivedChanged( &self, eventhandler: Option<&ICoreWebView2BytesReceivedChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>

source

fn remove_BytesReceivedChanged( &self, token: &EventRegistrationToken, ) -> Result<()>

source

fn add_EstimatedEndTimeChanged( &self, eventhandler: Option<&ICoreWebView2EstimatedEndTimeChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>

source

fn remove_EstimatedEndTimeChanged( &self, token: &EventRegistrationToken, ) -> Result<()>

source

fn add_StateChanged( &self, eventhandler: Option<&ICoreWebView2StateChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>

source

fn remove_StateChanged(&self, token: &EventRegistrationToken) -> Result<()>

source

fn Uri(&self, uri: *mut PWSTR) -> Result<()>

source

fn ContentDisposition(&self, contentdisposition: *mut PWSTR) -> Result<()>

source

fn MimeType(&self, mimetype: *mut PWSTR) -> Result<()>

source

fn TotalBytesToReceive(&self, totalbytestoreceive: *mut i64) -> Result<()>

source

fn BytesReceived(&self, bytesreceived: *mut i64) -> Result<()>

source

fn EstimatedEndTime(&self, estimatedendtime: *mut PWSTR) -> Result<()>

source

fn ResultFilePath(&self, resultfilepath: *mut PWSTR) -> Result<()>

source

fn State(&self, downloadstate: *mut COREWEBVIEW2_DOWNLOAD_STATE) -> Result<()>

source

fn InterruptReason( &self, interruptreason: *mut COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON, ) -> Result<()>

source

fn Cancel(&self) -> Result<()>

source

fn Pause(&self) -> Result<()>

source

fn Resume(&self) -> Result<()>

source

fn CanResume(&self, canresume: *mut BOOL) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§