pub struct CryptoSecretStreamKey { /* private fields */ }
Expand description
A key for encrypting and decrypting streams of data.
Trait Implementations§
Source§impl AsRef<[u8]> for CryptoSecretStreamKey
impl AsRef<[u8]> for CryptoSecretStreamKey
Source§impl Clone for CryptoSecretStreamKey
impl Clone for CryptoSecretStreamKey
Source§fn clone(&self) -> CryptoSecretStreamKey
fn clone(&self) -> CryptoSecretStreamKey
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 Freeze for CryptoSecretStreamKey
impl RefUnwindSafe for CryptoSecretStreamKey
impl Send for CryptoSecretStreamKey
impl Sync for CryptoSecretStreamKey
impl Unpin for CryptoSecretStreamKey
impl UnwindSafe for CryptoSecretStreamKey
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