#[non_exhaustive]pub struct VpnTunnelPhase2Algorithms {
pub encryption: Vec<String>,
pub integrity: Vec<String>,
pub pfs: Vec<String>,
/* private fields */
}Available on crate feature
vpn-tunnels only.Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.encryption: Vec<String>§integrity: Vec<String>§pfs: Vec<String>Implementations§
Source§impl VpnTunnelPhase2Algorithms
impl VpnTunnelPhase2Algorithms
pub fn new() -> Self
Sourcepub fn set_encryption<T, V>(self, v: T) -> Self
pub fn set_encryption<T, V>(self, v: T) -> Self
Sets the value of encryption.
§Example
ⓘ
let x = VpnTunnelPhase2Algorithms::new().set_encryption(["a", "b", "c"]);Sourcepub fn set_integrity<T, V>(self, v: T) -> Self
pub fn set_integrity<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for VpnTunnelPhase2Algorithms
impl Clone for VpnTunnelPhase2Algorithms
Source§fn clone(&self) -> VpnTunnelPhase2Algorithms
fn clone(&self) -> VpnTunnelPhase2Algorithms
Returns a duplicate 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 moreSource§impl Debug for VpnTunnelPhase2Algorithms
impl Debug for VpnTunnelPhase2Algorithms
Source§impl Default for VpnTunnelPhase2Algorithms
impl Default for VpnTunnelPhase2Algorithms
Source§fn default() -> VpnTunnelPhase2Algorithms
fn default() -> VpnTunnelPhase2Algorithms
Returns the “default value” for a type. Read more
Source§impl Message for VpnTunnelPhase2Algorithms
impl Message for VpnTunnelPhase2Algorithms
impl StructuralPartialEq for VpnTunnelPhase2Algorithms
Auto Trait Implementations§
impl Freeze for VpnTunnelPhase2Algorithms
impl RefUnwindSafe for VpnTunnelPhase2Algorithms
impl Send for VpnTunnelPhase2Algorithms
impl Sync for VpnTunnelPhase2Algorithms
impl Unpin for VpnTunnelPhase2Algorithms
impl UnwindSafe for VpnTunnelPhase2Algorithms
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