pub struct Configuration<'a> { /* private fields */ }
Expand description
OpenVPN 3 Configuration
Implementations§
Source§impl<'a> Configuration<'a>
impl<'a> Configuration<'a>
Sourcepub async fn new_tunnel<'c>(&self) -> Result<Session<'c>>
pub async fn new_tunnel<'c>(&self) -> Result<Session<'c>>
Start a new VPN backend client process for this VPN configuration profile.
Sourcepub async fn get_property<T>(&'a self, property_name: &str) -> Result<T>
pub async fn get_property<T>(&'a self, property_name: &str) -> Result<T>
Get a property value from the underlying D-Bus proxy.
Trait Implementations§
Source§impl<'a> Clone for Configuration<'a>
impl<'a> Clone for Configuration<'a>
Source§fn clone(&self) -> Configuration<'a>
fn clone(&self) -> Configuration<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for Configuration<'a>
impl<'a> !RefUnwindSafe for Configuration<'a>
impl<'a> Send for Configuration<'a>
impl<'a> Sync for Configuration<'a>
impl<'a> Unpin for Configuration<'a>
impl<'a> !UnwindSafe for Configuration<'a>
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