Struct windows::Networking::Sockets::StreamSocketInformation
pub struct StreamSocketInformation(/* private fields */);
Implementations§
§impl StreamSocketInformation
impl StreamSocketInformation
pub fn LocalAddress(&self) -> Result<HostName>
pub fn LocalPort(&self) -> Result<HSTRING>
pub fn RemoteHostName(&self) -> Result<HostName>
pub fn RemoteAddress(&self) -> Result<HostName>
pub fn RemoteServiceName(&self) -> Result<HSTRING>
pub fn RemotePort(&self) -> Result<HSTRING>
pub fn RoundTripTimeStatistics(&self) -> Result<RoundTripTimeStatistics>
pub fn BandwidthStatistics(&self) -> Result<BandwidthStatistics>
pub fn ProtectionLevel(&self) -> Result<SocketProtectionLevel>
pub fn SessionKey(&self) -> Result<IBuffer>
pub fn ServerCertificateErrorSeverity(&self) -> Result<SocketSslErrorSeverity>
pub fn ServerCertificateErrors( &self ) -> Result<IVectorView<ChainValidationResult>>
pub fn ServerCertificate(&self) -> Result<Certificate>
pub fn ServerIntermediateCertificates(&self) -> Result<IVectorView<Certificate>>
Trait Implementations§
§impl Clone for StreamSocketInformation
impl Clone for StreamSocketInformation
§fn clone(&self) -> StreamSocketInformation
fn clone(&self) -> StreamSocketInformation
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 StreamSocketInformation
impl Debug for StreamSocketInformation
§impl From<&StreamSocketInformation> for &IInspectable
impl From<&StreamSocketInformation> for &IInspectable
§fn from(value: &StreamSocketInformation) -> Self
fn from(value: &StreamSocketInformation) -> Self
Converts to this type from the input type.
§impl From<&StreamSocketInformation> for &IUnknown
impl From<&StreamSocketInformation> for &IUnknown
§fn from(value: &StreamSocketInformation) -> Self
fn from(value: &StreamSocketInformation) -> Self
Converts to this type from the input type.
§impl From<StreamSocketInformation> for IInspectable
impl From<StreamSocketInformation> for IInspectable
§fn from(value: StreamSocketInformation) -> Self
fn from(value: StreamSocketInformation) -> Self
Converts to this type from the input type.
§impl From<StreamSocketInformation> for IUnknown
impl From<StreamSocketInformation> for IUnknown
§fn from(value: StreamSocketInformation) -> Self
fn from(value: StreamSocketInformation) -> Self
Converts to this type from the input type.
§impl Interface for StreamSocketInformation
impl Interface for StreamSocketInformation
§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 StreamSocketInformation
impl PartialEq for StreamSocketInformation
§fn eq(&self, other: &StreamSocketInformation) -> bool
fn eq(&self, other: &StreamSocketInformation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StreamSocketInformation
impl Send for StreamSocketInformation
impl StructuralPartialEq for StreamSocketInformation
impl Sync for StreamSocketInformation
Auto Trait Implementations§
impl RefUnwindSafe for StreamSocketInformation
impl Unpin for StreamSocketInformation
impl UnwindSafe for StreamSocketInformation
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