Struct windows_webview2::Windows::Foundation::IAsyncActionWithProgress [−][src]
Implementations
impl<TProgress: RuntimeType + 'static> IAsyncActionWithProgress<TProgress>
[src]
pub fn SetProgress<'a, T0__: IntoParam<'a, AsyncActionProgressHandler<TProgress>>>(
&self,
handler: T0__
) -> Result<()>
[src]
&self,
handler: T0__
) -> Result<()>
pub fn Progress(&self) -> Result<AsyncActionProgressHandler<TProgress>>
[src]
pub fn SetCompleted<'a, T0__: IntoParam<'a, AsyncActionWithProgressCompletedHandler<TProgress>>>(
&self,
handler: T0__
) -> Result<()>
[src]
&self,
handler: T0__
) -> Result<()>
pub fn Completed(
&self
) -> Result<AsyncActionWithProgressCompletedHandler<TProgress>>
[src]
&self
) -> Result<AsyncActionWithProgressCompletedHandler<TProgress>>
pub fn GetResults(&self) -> Result<()>
[src]
pub fn Id(&self) -> Result<u32>
[src]
pub fn Status(&self) -> Result<AsyncStatus>
[src]
pub fn ErrorCode(&self) -> Result<ErrorCode>
[src]
pub fn Cancel(&self) -> Result<()>
[src]
pub fn Close(&self) -> Result<()>
[src]
pub fn get(&self) -> Result<()>
[src]
Trait Implementations
impl<TProgress: Clone> Clone for IAsyncActionWithProgress<TProgress> where
TProgress: RuntimeType + 'static,
[src]
TProgress: RuntimeType + 'static,
fn clone(&self) -> IAsyncActionWithProgress<TProgress>ⓘNotable traits for IAsyncActionWithProgress<TProgress>
impl<TProgress: RuntimeType + 'static> Future for IAsyncActionWithProgress<TProgress> type Output = Result<()>;
[src]
Notable traits for IAsyncActionWithProgress<TProgress>
impl<TProgress: RuntimeType + 'static> Future for IAsyncActionWithProgress<TProgress> type Output = Result<()>;
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<TProgress: Debug> Debug for IAsyncActionWithProgress<TProgress> where
TProgress: RuntimeType + 'static,
[src]
TProgress: RuntimeType + 'static,
impl<TProgress: Eq> Eq for IAsyncActionWithProgress<TProgress> where
TProgress: RuntimeType + 'static,
[src]
TProgress: RuntimeType + 'static,
impl<TProgress: RuntimeType + 'static> From<&'_ IAsyncActionWithProgress<TProgress>> for IAsyncInfo
[src]
fn from(value: &IAsyncActionWithProgress<TProgress>) -> Self
[src]
impl<TProgress: RuntimeType + 'static> From<IAsyncActionWithProgress<TProgress>> for IAsyncInfo
[src]
fn from(value: IAsyncActionWithProgress<TProgress>) -> Self
[src]
impl<TProgress: RuntimeType + 'static> Future for IAsyncActionWithProgress<TProgress>
[src]
type Output = Result<()>
The type of value produced on completion.
fn poll(self: Pin<&mut Self>, context: &mut Context<'_>) -> Poll<Self::Output>
[src]
impl<TProgress: RuntimeType + 'static> Interface for IAsyncActionWithProgress<TProgress>
[src]
type Vtable = IAsyncActionWithProgress_abi<TProgress>
const IID: Guid
[src]
pub unsafe fn vtable(&self) -> &Self::Vtable
[src]
pub unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtable where
T: Interface,
[src]
T: Interface,
pub fn cast<T>(&self) -> Result<T, Error> where
T: Interface,
[src]
T: Interface,
impl<'a, TProgress: RuntimeType + 'static> IntoParam<'a, IAsyncInfo> for IAsyncActionWithProgress<TProgress>
[src]
fn into_param(self) -> Param<'a, IAsyncInfo>
[src]
impl<'a, TProgress: RuntimeType + 'static> IntoParam<'a, IAsyncInfo> for &'a IAsyncActionWithProgress<TProgress>
[src]
fn into_param(self) -> Param<'a, IAsyncInfo>
[src]
impl<'a, TProgress: RuntimeType + 'static> IntoParam<'a, Object> for IAsyncActionWithProgress<TProgress>
[src]
fn into_param(self) -> Param<'a, Object>
[src]
impl<'a, TProgress: RuntimeType + 'static> IntoParam<'a, Object> for &'a IAsyncActionWithProgress<TProgress>
[src]
fn into_param(self) -> Param<'a, Object>
[src]
impl<TProgress: PartialEq> PartialEq<IAsyncActionWithProgress<TProgress>> for IAsyncActionWithProgress<TProgress> where
TProgress: RuntimeType + 'static,
[src]
TProgress: RuntimeType + 'static,
fn eq(&self, other: &IAsyncActionWithProgress<TProgress>) -> bool
[src]
fn ne(&self, other: &IAsyncActionWithProgress<TProgress>) -> bool
[src]
impl<TProgress: RuntimeType + 'static> RuntimeType for IAsyncActionWithProgress<TProgress>
[src]
type DefaultType = Option<Self>
const SIGNATURE: ConstBuffer
[src]
impl<TProgress: RuntimeType + 'static> Send for IAsyncActionWithProgress<TProgress>
[src]
impl<TProgress> StructuralEq for IAsyncActionWithProgress<TProgress> where
TProgress: RuntimeType + 'static,
[src]
TProgress: RuntimeType + 'static,
impl<TProgress> StructuralPartialEq for IAsyncActionWithProgress<TProgress> where
TProgress: RuntimeType + 'static,
[src]
TProgress: RuntimeType + 'static,
impl<TProgress: RuntimeType + 'static> Sync for IAsyncActionWithProgress<TProgress>
[src]
Auto Trait Implementations
impl<TProgress> RefUnwindSafe for IAsyncActionWithProgress<TProgress> where
TProgress: RefUnwindSafe,
TProgress: RefUnwindSafe,
impl<TProgress> Unpin for IAsyncActionWithProgress<TProgress> where
TProgress: Unpin,
TProgress: Unpin,
impl<TProgress> UnwindSafe for IAsyncActionWithProgress<TProgress> where
TProgress: UnwindSafe,
TProgress: UnwindSafe,
Blanket Implementations
impl<T> Abi for T where
T: Interface,
[src]
T: Interface,
type Abi = *mut c_void
The abi representation of the implementing type. Read more
pub fn set_abi(&mut self) -> *mut <T as Abi>::Abi
[src]
pub unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
[src]
pub fn abi(&self) -> Self::Abi
[src]
pub fn drop_param(&mut Param<'_, Self>)
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<F> IntoFuture for F where
F: Future,
[src]
F: Future,
type Output = <F as Future>::Output
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
pub fn into_future(self) -> <F as IntoFuture>::Future
[src]
impl<'a, T> IntoParam<'a, T> for T where
T: Abi,
[src]
T: Abi,
pub fn into_param(self) -> Param<'a, T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,