windows::Media::Protection::PlayReady

Trait INDDownloadEngine_Impl

pub trait INDDownloadEngine_Impl: IUnknownImpl {
    // Required methods
    fn Open(&self, uri: Ref<'_, Uri>, sessionIDBytes: &[u8]) -> Result<()>;
    fn Pause(&self) -> Result<()>;
    fn Resume(&self) -> Result<()>;
    fn Close(&self) -> Result<()>;
    fn Seek(&self, startPosition: &TimeSpan) -> Result<()>;
    fn CanSeek(&self) -> Result<bool>;
    fn BufferFullMinThresholdInSamples(&self) -> Result<u32>;
    fn BufferFullMaxThresholdInSamples(&self) -> Result<u32>;
    fn Notifier(&self) -> Result<NDDownloadEngineNotifier>;
}

Required Methods§

fn Open(&self, uri: Ref<'_, Uri>, sessionIDBytes: &[u8]) -> Result<()>

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

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

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

fn Seek(&self, startPosition: &TimeSpan) -> Result<()>

fn CanSeek(&self) -> Result<bool>

fn BufferFullMinThresholdInSamples(&self) -> Result<u32>

fn BufferFullMaxThresholdInSamples(&self) -> Result<u32>

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

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§