pub enum KeyconfGet {
PeerId(u32),
Slot(u32),
KeyId(u32),
CipherAlg(u32),
}Available on crate feature
ovpn only.Variants§
PeerId(u32)
The unique ID of the peer in the device context. To be used to identify peers during key operations
Slot(u32)
The slot where the key should be stored
Associated type: KeySlot (enum)
KeyId(u32)
The unique ID of the key in the peer context. Used to fetch the correct key upon decryption
CipherAlg(u32)
The cipher to be used when communicating with the peer
Associated type: CipherAlg (enum)
Implementations§
Source§impl KeyconfGet
impl KeyconfGet
pub fn new<'a>(buf: &'a [u8]) -> IterableKeyconfGet<'a> ⓘ
Trait Implementations§
Source§impl Clone for KeyconfGet
impl Clone for KeyconfGet
Source§fn clone(&self) -> KeyconfGet
fn clone(&self) -> KeyconfGet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for KeyconfGet
impl RefUnwindSafe for KeyconfGet
impl Send for KeyconfGet
impl Sync for KeyconfGet
impl Unpin for KeyconfGet
impl UnsafeUnpin for KeyconfGet
impl UnwindSafe for KeyconfGet
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