windows::Media::Protection::PlayReady

Trait INDStreamParser_Impl

pub trait INDStreamParser_Impl: IUnknownImpl {
    // Required methods
    fn ParseData(&self, dataBytes: &[u8]) -> Result<()>;
    fn GetStreamInformation(
        &self,
        descriptor: Ref<'_, IMediaStreamDescriptor>,
        streamType: &mut NDMediaStreamType,
    ) -> Result<u32>;
    fn BeginOfStream(&self) -> Result<()>;
    fn EndOfStream(&self) -> Result<()>;
    fn Notifier(&self) -> Result<NDStreamParserNotifier>;
}

Required Methods§

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

fn GetStreamInformation( &self, descriptor: Ref<'_, IMediaStreamDescriptor>, streamType: &mut NDMediaStreamType, ) -> Result<u32>

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

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

fn Notifier(&self) -> Result<NDStreamParserNotifier>

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§