windows::Media::Protection::PlayReady

Trait IPlayReadyServiceRequest_Impl

pub trait IPlayReadyServiceRequest_Impl: IMediaProtectionServiceRequest_Impl {
    // Required methods
    fn Uri(&self) -> Result<Uri>;
    fn SetUri(&self, value: Ref<'_, Uri>) -> Result<()>;
    fn ResponseCustomData(&self) -> Result<HSTRING>;
    fn ChallengeCustomData(&self) -> Result<HSTRING>;
    fn SetChallengeCustomData(&self, value: &HSTRING) -> Result<()>;
    fn BeginServiceRequest(&self) -> Result<IAsyncAction>;
    fn NextServiceRequest(&self) -> Result<IPlayReadyServiceRequest>;
    fn GenerateManualEnablingChallenge(&self) -> Result<PlayReadySoapMessage>;
    fn ProcessManualEnablingResponse(
        &self,
        responseBytes: &[u8],
    ) -> Result<HRESULT>;
}

Required Methods§

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

fn SetUri(&self, value: Ref<'_, Uri>) -> Result<()>

fn ResponseCustomData(&self) -> Result<HSTRING>

fn ChallengeCustomData(&self) -> Result<HSTRING>

fn SetChallengeCustomData(&self, value: &HSTRING) -> Result<()>

fn BeginServiceRequest(&self) -> Result<IAsyncAction>

fn NextServiceRequest(&self) -> Result<IPlayReadyServiceRequest>

fn GenerateManualEnablingChallenge(&self) -> Result<PlayReadySoapMessage>

fn ProcessManualEnablingResponse(&self, responseBytes: &[u8]) -> Result<HRESULT>

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§