Struct windows::Win32::System::Com::ChannelCredentials::IChannelCredentials
pub struct IChannelCredentials(/* private fields */);
Implementations§
§impl IChannelCredentials
impl IChannelCredentials
pub unsafe fn SetWindowsCredential<P0, P1, P2, P3>( &self, domain: P0, username: P1, password: P2, impersonationlevel: i32, allowntlm: P3 ) -> Result<()>
pub unsafe fn SetUserNameCredential<P0, P1>( &self, username: P0, password: P1 ) -> Result<()>
pub unsafe fn SetClientCertificateFromStore<P0, P1, P2, P3>( &self, storelocation: P0, storename: P1, findyype: P2, findvalue: P3 ) -> Result<()>
pub unsafe fn SetClientCertificateFromStoreByName<P0, P1, P2>( &self, subjectname: P0, storelocation: P1, storename: P2 ) -> Result<()>
pub unsafe fn SetClientCertificateFromFile<P0, P1, P2>( &self, filename: P0, password: P1, keystorageflags: P2 ) -> Result<()>
pub unsafe fn SetDefaultServiceCertificateFromStore<P0, P1, P2, P3>( &self, storelocation: P0, storename: P1, findtype: P2, findvalue: P3 ) -> Result<()>
pub unsafe fn SetDefaultServiceCertificateFromStoreByName<P0, P1, P2>( &self, subjectname: P0, storelocation: P1, storename: P2 ) -> Result<()>
pub unsafe fn SetDefaultServiceCertificateFromFile<P0, P1, P2>( &self, filename: P0, password: P1, keystorageflags: P2 ) -> Result<()>
pub unsafe fn SetServiceCertificateAuthentication<P0, P1, P2>( &self, storelocation: P0, revocationmode: P1, certificatevalidationmode: P2 ) -> Result<()>
pub unsafe fn SetIssuedToken<P0, P1, P2>( &self, localissueraddres: P0, localissuerbindingtype: P1, localissuerbinding: P2 ) -> Result<()>
Trait Implementations§
§impl Clone for IChannelCredentials
impl Clone for IChannelCredentials
§fn clone(&self) -> IChannelCredentials
fn clone(&self) -> IChannelCredentials
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 IChannelCredentials
impl Debug for IChannelCredentials
§impl From<&IChannelCredentials> for &IDispatch
impl From<&IChannelCredentials> for &IDispatch
§fn from(value: &IChannelCredentials) -> Self
fn from(value: &IChannelCredentials) -> Self
Converts to this type from the input type.
§impl From<&IChannelCredentials> for &IUnknown
impl From<&IChannelCredentials> for &IUnknown
§fn from(value: &IChannelCredentials) -> Self
fn from(value: &IChannelCredentials) -> Self
Converts to this type from the input type.
§impl From<IChannelCredentials> for IDispatch
impl From<IChannelCredentials> for IDispatch
§fn from(value: IChannelCredentials) -> Self
fn from(value: IChannelCredentials) -> Self
Converts to this type from the input type.
§impl From<IChannelCredentials> for IUnknown
impl From<IChannelCredentials> for IUnknown
§fn from(value: IChannelCredentials) -> Self
fn from(value: IChannelCredentials) -> Self
Converts to this type from the input type.
§impl Interface for IChannelCredentials
impl Interface for IChannelCredentials
§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 IChannelCredentials
impl PartialEq for IChannelCredentials
§fn eq(&self, other: &IChannelCredentials) -> bool
fn eq(&self, other: &IChannelCredentials) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IChannelCredentials
impl StructuralPartialEq for IChannelCredentials
Auto Trait Implementations§
impl RefUnwindSafe for IChannelCredentials
impl !Send for IChannelCredentials
impl !Sync for IChannelCredentials
impl Unpin for IChannelCredentials
impl UnwindSafe for IChannelCredentials
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