Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2DownloadOperation
source · [−]#[repr(transparent)]pub struct ICoreWebView2DownloadOperation(_);
Implementations
sourceimpl ICoreWebView2DownloadOperation
impl ICoreWebView2DownloadOperation
pub unsafe fn add_BytesReceivedChanged<'a, Param0: IntoParam<'a, ICoreWebView2BytesReceivedChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_BytesReceivedChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn add_EstimatedEndTimeChanged<'a, Param0: IntoParam<'a, ICoreWebView2EstimatedEndTimeChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_EstimatedEndTimeChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn add_StateChanged<'a, Param0: IntoParam<'a, ICoreWebView2StateChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_StateChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn Uri(&self, uri: *mut PWSTR) -> Result<()>
pub unsafe fn ContentDisposition(
&self,
contentdisposition: *mut PWSTR
) -> Result<()>
pub unsafe fn MimeType(&self, mimetype: *mut PWSTR) -> Result<()>
pub unsafe fn TotalBytesToReceive(
&self,
totalbytestoreceive: *mut i64
) -> Result<()>
pub unsafe fn BytesReceived(&self, bytesreceived: *mut i64) -> Result<()>
pub unsafe fn EstimatedEndTime(
&self,
estimatedendtime: *mut PWSTR
) -> Result<()>
pub unsafe fn ResultFilePath(&self, resultfilepath: *mut PWSTR) -> Result<()>
pub unsafe fn State(
&self,
downloadstate: *mut COREWEBVIEW2_DOWNLOAD_STATE
) -> Result<()>
pub unsafe fn InterruptReason(
&self,
interruptreason: *mut COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON
) -> Result<()>
pub unsafe fn Cancel(&self) -> Result<()>
pub unsafe fn Pause(&self) -> Result<()>
pub unsafe fn Resume(&self) -> Result<()>
pub unsafe fn CanResume(&self, canresume: *mut BOOL) -> Result<()>
Trait Implementations
sourceimpl From<&'_ ICoreWebView2DownloadOperation> for IUnknown
impl From<&'_ ICoreWebView2DownloadOperation> for IUnknown
sourcefn from(value: &ICoreWebView2DownloadOperation) -> Self
fn from(value: &ICoreWebView2DownloadOperation) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2DownloadOperation> for IUnknown
impl From<ICoreWebView2DownloadOperation> for IUnknown
sourcefn from(value: ICoreWebView2DownloadOperation) -> Self
fn from(value: ICoreWebView2DownloadOperation) -> Self
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2DownloadOperation
impl Interface for ICoreWebView2DownloadOperation
sourceconst IID: GUID = ::windows::core::GUID::from_u128(0x3d6b6cf2_afe1_44c7_a995_c65117714336)
const IID: GUID = ::windows::core::GUID::from_u128(0x3d6b6cf2_afe1_44c7_a995_c65117714336)
A unique identifier representing this interface.
impl Eq for ICoreWebView2DownloadOperation
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2DownloadOperation
impl !Send for ICoreWebView2DownloadOperation
impl !Sync for ICoreWebView2DownloadOperation
impl Unpin for ICoreWebView2DownloadOperation
impl UnwindSafe for ICoreWebView2DownloadOperation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more