Enum srt_protocol::options::KeySize
source · pub enum KeySize {
Unspecified,
AES128,
AES192,
AES256,
}
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq<KeySize> for KeySize
impl PartialEq<KeySize> for KeySize
source§impl TryFrom<u8> for KeySize
impl TryFrom<u8> for KeySize
§type Error = OptionsError
type Error = OptionsError
The type returned in the event of a conversion error.
impl Copy for KeySize
impl Eq for KeySize
impl StructuralEq for KeySize
impl StructuralPartialEq for KeySize
Auto Trait Implementations§
impl RefUnwindSafe for KeySize
impl Send for KeySize
impl Sync for KeySize
impl Unpin for KeySize
impl UnwindSafe for KeySize
Blanket Implementations§
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.