Struct windows::Media::Protection::PlayReady::NDTCPMessenger
pub struct NDTCPMessenger(/* private fields */);
Implementations§
§impl NDTCPMessenger
impl NDTCPMessenger
pub fn SendRegistrationRequestAsync( &self, sessionidbytes: &[u8], challengedatabytes: &[u8] ) -> Result<IAsyncOperation<INDSendResult>>
pub fn SendProximityDetectionStartAsync( &self, pdtype: NDProximityDetectionType, transmitterchannelbytes: &[u8], sessionidbytes: &[u8], challengedatabytes: &[u8] ) -> Result<IAsyncOperation<INDSendResult>>
pub fn SendProximityDetectionResponseAsync( &self, pdtype: NDProximityDetectionType, transmitterchannelbytes: &[u8], sessionidbytes: &[u8], responsedatabytes: &[u8] ) -> Result<IAsyncOperation<INDSendResult>>
pub fn SendLicenseFetchRequestAsync( &self, sessionidbytes: &[u8], challengedatabytes: &[u8] ) -> Result<IAsyncOperation<INDSendResult>>
pub fn CreateInstance( remotehostname: &HSTRING, remotehostport: u32 ) -> Result<NDTCPMessenger>
Trait Implementations§
§impl Clone for NDTCPMessenger
impl Clone for NDTCPMessenger
§fn clone(&self) -> NDTCPMessenger
fn clone(&self) -> NDTCPMessenger
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for NDTCPMessenger
impl Debug for NDTCPMessenger
§impl From<&NDTCPMessenger> for &IInspectable
impl From<&NDTCPMessenger> for &IInspectable
§fn from(value: &NDTCPMessenger) -> Self
fn from(value: &NDTCPMessenger) -> Self
Converts to this type from the input type.
§impl From<&NDTCPMessenger> for &IUnknown
impl From<&NDTCPMessenger> for &IUnknown
§fn from(value: &NDTCPMessenger) -> Self
fn from(value: &NDTCPMessenger) -> Self
Converts to this type from the input type.
§impl From<NDTCPMessenger> for IInspectable
impl From<NDTCPMessenger> for IInspectable
§fn from(value: NDTCPMessenger) -> Self
fn from(value: NDTCPMessenger) -> Self
Converts to this type from the input type.
§impl From<NDTCPMessenger> for IUnknown
impl From<NDTCPMessenger> for IUnknown
§fn from(value: NDTCPMessenger) -> Self
fn from(value: NDTCPMessenger) -> Self
Converts to this type from the input type.
§impl Interface for NDTCPMessenger
impl Interface for NDTCPMessenger
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for NDTCPMessenger
impl PartialEq for NDTCPMessenger
§fn eq(&self, other: &NDTCPMessenger) -> bool
fn eq(&self, other: &NDTCPMessenger) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NDTCPMessenger
impl StructuralPartialEq for NDTCPMessenger
Auto Trait Implementations§
impl RefUnwindSafe for NDTCPMessenger
impl !Send for NDTCPMessenger
impl !Sync for NDTCPMessenger
impl Unpin for NDTCPMessenger
impl UnwindSafe for NDTCPMessenger
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more