Struct windows::Networking::Connectivity::RoutePolicy
pub struct RoutePolicy(/* private fields */);
Implementations§
§impl RoutePolicy
impl RoutePolicy
pub fn ConnectionProfile(&self) -> Result<ConnectionProfile>
pub fn HostName(&self) -> Result<HostName>
pub fn HostNameType(&self) -> Result<DomainNameType>
pub fn CreateRoutePolicy<P0, P1>(
connectionprofile: P0,
hostname: P1,
type: DomainNameType
) -> Result<RoutePolicy>where
P0: IntoParam<ConnectionProfile>,
P1: IntoParam<HostName>,
Trait Implementations§
§impl Clone for RoutePolicy
impl Clone for RoutePolicy
§fn clone(&self) -> RoutePolicy
fn clone(&self) -> RoutePolicy
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 RoutePolicy
impl Debug for RoutePolicy
§impl From<&RoutePolicy> for &IInspectable
impl From<&RoutePolicy> for &IInspectable
§fn from(value: &RoutePolicy) -> Self
fn from(value: &RoutePolicy) -> Self
Converts to this type from the input type.
§impl From<&RoutePolicy> for &IUnknown
impl From<&RoutePolicy> for &IUnknown
§fn from(value: &RoutePolicy) -> Self
fn from(value: &RoutePolicy) -> Self
Converts to this type from the input type.
§impl From<RoutePolicy> for IInspectable
impl From<RoutePolicy> for IInspectable
§fn from(value: RoutePolicy) -> Self
fn from(value: RoutePolicy) -> Self
Converts to this type from the input type.
§impl From<RoutePolicy> for IUnknown
impl From<RoutePolicy> for IUnknown
§fn from(value: RoutePolicy) -> Self
fn from(value: RoutePolicy) -> Self
Converts to this type from the input type.
§impl Interface for RoutePolicy
impl Interface for RoutePolicy
§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 RoutePolicy
impl PartialEq for RoutePolicy
§fn eq(&self, other: &RoutePolicy) -> bool
fn eq(&self, other: &RoutePolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RoutePolicy
impl Send for RoutePolicy
impl StructuralPartialEq for RoutePolicy
impl Sync for RoutePolicy
Auto Trait Implementations§
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