Trait windows::Networking::Vpn::IVpnProfile_Impl

pub trait IVpnProfile_Impl: Sized {
    // Required methods
    fn ProfileName(&self) -> Result<HSTRING>;
    fn SetProfileName(&self, value: &HSTRING) -> Result<()>;
    fn AppTriggers(&self) -> Result<IVector<VpnAppId>>;
    fn Routes(&self) -> Result<IVector<VpnRoute>>;
    fn DomainNameInfoList(&self) -> Result<IVector<VpnDomainNameInfo>>;
    fn TrafficFilters(&self) -> Result<IVector<VpnTrafficFilter>>;
    fn RememberCredentials(&self) -> Result<bool>;
    fn SetRememberCredentials(&self, value: bool) -> Result<()>;
    fn AlwaysOn(&self) -> Result<bool>;
    fn SetAlwaysOn(&self, value: bool) -> Result<()>;
}

Required Methods§

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

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

fn AppTriggers(&self) -> Result<IVector<VpnAppId>>

fn Routes(&self) -> Result<IVector<VpnRoute>>

fn DomainNameInfoList(&self) -> Result<IVector<VpnDomainNameInfo>>

fn TrafficFilters(&self) -> Result<IVector<VpnTrafficFilter>>

fn RememberCredentials(&self) -> Result<bool>

fn SetRememberCredentials(&self, value: bool) -> Result<()>

fn AlwaysOn(&self) -> Result<bool>

fn SetAlwaysOn(&self, value: bool) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§