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

Required Methods§

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§