Enum srt_protocol::packet::CipherType  
source · pub enum CipherType {
    None,
    Ecb,
    Ctr,
    Cbc,
}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<CipherType> for CipherType
 
impl PartialEq<CipherType> for CipherType
source§fn eq(&self, other: &CipherType) -> bool
 
fn eq(&self, other: &CipherType) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl TryFrom<u8> for CipherType
 
impl TryFrom<u8> for CipherType
§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 StructuralEq for CipherType
impl StructuralPartialEq for CipherType
Auto Trait Implementations§
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<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.