Enum srt_protocol::protocol::encryption::key::EncryptionKey
source · pub enum EncryptionKey {
Bytes16([u8; 16]),
Bytes24([u8; 24]),
Bytes32([u8; 32]),
}
Variants§
Implementations§
source§impl EncryptionKey
impl EncryptionKey
Trait Implementations§
source§impl Clone for EncryptionKey
impl Clone for EncryptionKey
source§fn clone(&self) -> EncryptionKey
fn clone(&self) -> EncryptionKey
Returns a copy 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 EncryptionKey
impl Debug for EncryptionKey
source§impl PartialEq<EncryptionKey> for EncryptionKey
impl PartialEq<EncryptionKey> for EncryptionKey
source§fn eq(&self, other: &EncryptionKey) -> bool
fn eq(&self, other: &EncryptionKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EncryptionKey
impl StructuralEq for EncryptionKey
impl StructuralPartialEq for EncryptionKey
Auto Trait Implementations§
impl RefUnwindSafe for EncryptionKey
impl Send for EncryptionKey
impl Sync for EncryptionKey
impl Unpin for EncryptionKey
impl UnwindSafe for EncryptionKey
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.