pub struct PushKeyconfGet<Prev: Pusher> { /* private fields */ }Available on crate feature
ovpn only.Implementations§
Source§impl<Prev: Pusher> PushKeyconfGet<Prev>
impl<Prev: Pusher> PushKeyconfGet<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
Sourcepub fn push_peer_id(self, value: u32) -> Self
pub fn push_peer_id(self, value: u32) -> Self
The unique ID of the peer in the device context. To be used to identify peers during key operations
Sourcepub fn push_slot(self, value: u32) -> Self
pub fn push_slot(self, value: u32) -> Self
The slot where the key should be stored
Associated type: KeySlot (enum)
Sourcepub fn push_key_id(self, value: u32) -> Self
pub fn push_key_id(self, value: u32) -> Self
The unique ID of the key in the peer context. Used to fetch the correct key upon decryption
Sourcepub fn push_cipher_alg(self, value: u32) -> Self
pub fn push_cipher_alg(self, value: u32) -> Self
The cipher to be used when communicating with the peer
Associated type: CipherAlg (enum)
Trait Implementations§
Source§impl<Prev: Pusher> Drop for PushKeyconfGet<Prev>
impl<Prev: Pusher> Drop for PushKeyconfGet<Prev>
Source§impl<Prev: Pusher> Pusher for PushKeyconfGet<Prev>
impl<Prev: Pusher> Pusher for PushKeyconfGet<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushKeyconfGet<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushKeyconfGet<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushKeyconfGet<Prev>where
Prev: Send,
impl<Prev> Sync for PushKeyconfGet<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushKeyconfGet<Prev>where
Prev: Unpin,
impl<Prev> UnsafeUnpin for PushKeyconfGet<Prev>where
Prev: UnsafeUnpin,
impl<Prev> UnwindSafe for PushKeyconfGet<Prev>where
Prev: UnwindSafe,
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