pub struct IXMLHTTPRequest2Callback(/* private fields */);
Implementations§
§impl IXMLHTTPRequest2Callback
impl IXMLHTTPRequest2Callback
pub unsafe fn OnRedirect<P0, P1>(
&self,
pxhr: P0,
pwszredirecturl: P1
) -> Result<()>where
P0: IntoParam<IXMLHTTPRequest2>,
P1: IntoParam<PCWSTR>,
pub unsafe fn OnHeadersAvailable<P0, P1>(
&self,
pxhr: P0,
dwstatus: u32,
pwszstatus: P1
) -> Result<()>where
P0: IntoParam<IXMLHTTPRequest2>,
P1: IntoParam<PCWSTR>,
pub unsafe fn OnDataAvailable<P0, P1>(
&self,
pxhr: P0,
presponsestream: P1
) -> Result<()>where
P0: IntoParam<IXMLHTTPRequest2>,
P1: IntoParam<ISequentialStream>,
pub unsafe fn OnResponseReceived<P0, P1>(
&self,
pxhr: P0,
presponsestream: P1
) -> Result<()>where
P0: IntoParam<IXMLHTTPRequest2>,
P1: IntoParam<ISequentialStream>,
pub unsafe fn OnError<P0>(&self, pxhr: P0, hrerror: HRESULT) -> Result<()>where
P0: IntoParam<IXMLHTTPRequest2>,
Trait Implementations§
§impl Clone for IXMLHTTPRequest2Callback
impl Clone for IXMLHTTPRequest2Callback
§fn clone(&self) -> IXMLHTTPRequest2Callback
fn clone(&self) -> IXMLHTTPRequest2Callback
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 more§impl Debug for IXMLHTTPRequest2Callback
impl Debug for IXMLHTTPRequest2Callback
§impl From<&IXMLHTTPRequest2Callback> for &IUnknown
impl From<&IXMLHTTPRequest2Callback> for &IUnknown
§fn from(value: &IXMLHTTPRequest2Callback) -> Self
fn from(value: &IXMLHTTPRequest2Callback) -> Self
Converts to this type from the input type.
§impl From<&IXMLHTTPRequest3Callback> for &IXMLHTTPRequest2Callback
impl From<&IXMLHTTPRequest3Callback> for &IXMLHTTPRequest2Callback
§fn from(value: &IXMLHTTPRequest3Callback) -> Self
fn from(value: &IXMLHTTPRequest3Callback) -> Self
Converts to this type from the input type.
§impl From<IXMLHTTPRequest2Callback> for IUnknown
impl From<IXMLHTTPRequest2Callback> for IUnknown
§fn from(value: IXMLHTTPRequest2Callback) -> Self
fn from(value: IXMLHTTPRequest2Callback) -> Self
Converts to this type from the input type.
§impl From<IXMLHTTPRequest3Callback> for IXMLHTTPRequest2Callback
impl From<IXMLHTTPRequest3Callback> for IXMLHTTPRequest2Callback
§fn from(value: IXMLHTTPRequest3Callback) -> Self
fn from(value: IXMLHTTPRequest3Callback) -> Self
Converts to this type from the input type.
§impl Interface for IXMLHTTPRequest2Callback
impl Interface for IXMLHTTPRequest2Callback
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IXMLHTTPRequest2Callback
impl PartialEq for IXMLHTTPRequest2Callback
§fn eq(&self, other: &IXMLHTTPRequest2Callback) -> bool
fn eq(&self, other: &IXMLHTTPRequest2Callback) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IXMLHTTPRequest2Callback
impl StructuralPartialEq for IXMLHTTPRequest2Callback
Auto Trait Implementations§
impl RefUnwindSafe for IXMLHTTPRequest2Callback
impl !Send for IXMLHTTPRequest2Callback
impl !Sync for IXMLHTTPRequest2Callback
impl Unpin for IXMLHTTPRequest2Callback
impl UnwindSafe for IXMLHTTPRequest2Callback
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