pub enum Keydir<'a> {
CipherKey(&'a [u8]),
NonceTail(&'a [u8]),
}Available on crate feature
ovpn only.Variants§
CipherKey(&'a [u8])
The actual key to be used by the cipher
NonceTail(&'a [u8])
Random nonce to be concatenated to the packet ID, in order to obtain the actual cipher IV
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Keydir<'a>
impl<'a> RefUnwindSafe for Keydir<'a>
impl<'a> Send for Keydir<'a>
impl<'a> Sync for Keydir<'a>
impl<'a> Unpin for Keydir<'a>
impl<'a> UnsafeUnpin for Keydir<'a>
impl<'a> UnwindSafe for Keydir<'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