pub enum CipherType {
None = 0,
Ecb = 1,
Ctr = 2,
Cbc = 3,
}
Expand description
from https://github.com/Haivision/srt/blob/2ef4ef003c2006df1458de6d47fbe3d2338edf69/haicrypt/hcrypt_msg.h#L121-L124
Variants§
Trait Implementations§
Source§impl Clone for CipherType
impl Clone for CipherType
Source§fn clone(&self) -> CipherType
fn clone(&self) -> CipherType
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 CipherType
impl Debug for CipherType
Source§impl PartialEq for CipherType
impl PartialEq for CipherType
Source§impl TryFrom<u8> for CipherType
impl TryFrom<u8> for CipherType
Source§type Error = PacketParseError
type Error = PacketParseError
The type returned in the event of a conversion error.
Source§fn try_from(from: u8) -> Result<CipherType, PacketParseError>
fn try_from(from: u8) -> Result<CipherType, PacketParseError>
Performs the conversion.
impl Copy for CipherType
impl Eq for CipherType
impl StructuralPartialEq for CipherType
Auto Trait Implementations§
impl Freeze for CipherType
impl RefUnwindSafe for CipherType
impl Send for CipherType
impl Sync for CipherType
impl Unpin for CipherType
impl UnwindSafe for CipherType
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.