Struct windows::Win32::Media::MediaFoundation::IMFHttpDownloadSession
pub struct IMFHttpDownloadSession(/* private fields */);
Implementations§
§impl IMFHttpDownloadSession
impl IMFHttpDownloadSession
pub unsafe fn SetServer<P0>(&self, szservername: P0, nport: u32) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn CreateRequest<P0, P1, P2, P3, P4>( &self, szobjectname: P0, fbypassproxycache: P1, fsecure: P2, szverb: P3, szreferrer: P4 ) -> Result<IMFHttpDownloadRequest>
pub unsafe fn Close(&self) -> Result<()>
Trait Implementations§
§impl Clone for IMFHttpDownloadSession
impl Clone for IMFHttpDownloadSession
§fn clone(&self) -> IMFHttpDownloadSession
fn clone(&self) -> IMFHttpDownloadSession
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 IMFHttpDownloadSession
impl Debug for IMFHttpDownloadSession
§impl From<&IMFHttpDownloadSession> for &IUnknown
impl From<&IMFHttpDownloadSession> for &IUnknown
§fn from(value: &IMFHttpDownloadSession) -> Self
fn from(value: &IMFHttpDownloadSession) -> Self
Converts to this type from the input type.
§impl From<IMFHttpDownloadSession> for IUnknown
impl From<IMFHttpDownloadSession> for IUnknown
§fn from(value: IMFHttpDownloadSession) -> Self
fn from(value: IMFHttpDownloadSession) -> Self
Converts to this type from the input type.
§impl Interface for IMFHttpDownloadSession
impl Interface for IMFHttpDownloadSession
§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 IMFHttpDownloadSession
impl PartialEq for IMFHttpDownloadSession
§fn eq(&self, other: &IMFHttpDownloadSession) -> bool
fn eq(&self, other: &IMFHttpDownloadSession) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMFHttpDownloadSession
impl StructuralPartialEq for IMFHttpDownloadSession
Auto Trait Implementations§
impl RefUnwindSafe for IMFHttpDownloadSession
impl !Send for IMFHttpDownloadSession
impl !Sync for IMFHttpDownloadSession
impl Unpin for IMFHttpDownloadSession
impl UnwindSafe for IMFHttpDownloadSession
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