Trait IMFHttpDownloadRequest_Impl
pub trait IMFHttpDownloadRequest_Impl: IUnknownImpl {
Show 16 methods
// Required methods
fn AddHeader(&self, szheader: &PCWSTR) -> Result<()>;
fn BeginSendRequest(
&self,
pbpayload: *const u8,
cbpayload: u32,
pcallback: Ref<'_, IMFAsyncCallback>,
punkstate: Ref<'_, IUnknown>,
) -> Result<()>;
fn EndSendRequest(&self, presult: Ref<'_, IMFAsyncResult>) -> Result<()>;
fn BeginReceiveResponse(
&self,
pcallback: Ref<'_, IMFAsyncCallback>,
punkstate: Ref<'_, IUnknown>,
) -> Result<()>;
fn EndReceiveResponse(&self, presult: Ref<'_, IMFAsyncResult>) -> Result<()>;
fn BeginReadPayload(
&self,
pb: *mut u8,
cb: u32,
pcallback: Ref<'_, IMFAsyncCallback>,
punkstate: Ref<'_, IUnknown>,
) -> Result<()>;
fn EndReadPayload(
&self,
presult: Ref<'_, IMFAsyncResult>,
pqwoffset: *mut u64,
pcbread: *mut u32,
) -> Result<()>;
fn QueryHeader(&self, szheadername: &PCWSTR, dwindex: u32) -> Result<PWSTR>;
fn GetURL(&self) -> Result<PWSTR>;
fn HasNullSourceOrigin(&self) -> Result<BOOL>;
fn GetTimeSeekResult(
&self,
pqwstarttime: *mut u64,
pqwstoptime: *mut u64,
pqwduration: *mut u64,
) -> Result<()>;
fn GetHttpStatus(&self) -> Result<u32>;
fn GetAtEndOfPayload(&self) -> Result<BOOL>;
fn GetTotalLength(&self) -> Result<u64>;
fn GetRangeEndOffset(&self) -> Result<u64>;
fn Close(&self) -> Result<()>;
}
Required Methods§
fn AddHeader(&self, szheader: &PCWSTR) -> Result<()>
fn BeginSendRequest( &self, pbpayload: *const u8, cbpayload: u32, pcallback: Ref<'_, IMFAsyncCallback>, punkstate: Ref<'_, IUnknown>, ) -> Result<()>
fn EndSendRequest(&self, presult: Ref<'_, IMFAsyncResult>) -> Result<()>
fn BeginReceiveResponse( &self, pcallback: Ref<'_, IMFAsyncCallback>, punkstate: Ref<'_, IUnknown>, ) -> Result<()>
fn EndReceiveResponse(&self, presult: Ref<'_, IMFAsyncResult>) -> Result<()>
fn BeginReadPayload( &self, pb: *mut u8, cb: u32, pcallback: Ref<'_, IMFAsyncCallback>, punkstate: Ref<'_, IUnknown>, ) -> Result<()>
fn EndReadPayload( &self, presult: Ref<'_, IMFAsyncResult>, pqwoffset: *mut u64, pcbread: *mut u32, ) -> Result<()>
fn QueryHeader(&self, szheadername: &PCWSTR, dwindex: u32) -> Result<PWSTR>
fn GetURL(&self) -> Result<PWSTR>
fn HasNullSourceOrigin(&self) -> Result<BOOL>
fn GetTimeSeekResult( &self, pqwstarttime: *mut u64, pqwstoptime: *mut u64, pqwduration: *mut u64, ) -> Result<()>
fn GetHttpStatus(&self) -> Result<u32>
fn GetAtEndOfPayload(&self) -> Result<BOOL>
fn GetTotalLength(&self) -> Result<u64>
fn GetRangeEndOffset(&self) -> Result<u64>
fn Close(&self) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.