windows::Media::Protection::PlayReady

Trait INDDownloadEngineNotifier_Impl

pub trait INDDownloadEngineNotifier_Impl: IUnknownImpl {
    // Required methods
    fn OnStreamOpened(&self) -> Result<()>;
    fn OnPlayReadyObjectReceived(&self, dataBytes: &[u8]) -> Result<()>;
    fn OnContentIDReceived(
        &self,
        licenseFetchDescriptor: Ref<'_, INDLicenseFetchDescriptor>,
    ) -> Result<()>;
    fn OnDataReceived(&self, dataBytes: &[u8], bytesReceived: u32) -> Result<()>;
    fn OnEndOfStream(&self) -> Result<()>;
    fn OnNetworkError(&self) -> Result<()>;
}

Required Methods§

fn OnStreamOpened(&self) -> Result<()>

fn OnPlayReadyObjectReceived(&self, dataBytes: &[u8]) -> Result<()>

fn OnContentIDReceived( &self, licenseFetchDescriptor: Ref<'_, INDLicenseFetchDescriptor>, ) -> Result<()>

fn OnDataReceived(&self, dataBytes: &[u8], bytesReceived: u32) -> Result<()>

fn OnEndOfStream(&self) -> Result<()>

fn OnNetworkError(&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.

Implementors§