#[repr(u8)]pub enum CryptoSuite {
Suite0 = 0,
Suite1 = 1,
Suite2 = 2,
}Expand description
Crypto suite identifiers
Variants§
Suite0 = 0
X25519 + ChaCha20-Poly1305 + Ed25519
Suite1 = 1
X25519 + AES-256-GCM + Ed25519
Suite2 = 2
Reserved for post-quantum
Implementations§
Source§impl CryptoSuite
impl CryptoSuite
Trait Implementations§
Source§impl Clone for CryptoSuite
impl Clone for CryptoSuite
Source§fn clone(&self) -> CryptoSuite
fn clone(&self) -> CryptoSuite
Returns a duplicate 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 CryptoSuite
impl Debug for CryptoSuite
Source§impl Default for CryptoSuite
impl Default for CryptoSuite
Source§fn default() -> CryptoSuite
fn default() -> CryptoSuite
Returns the “default value” for a type. Read more
Source§impl PartialEq for CryptoSuite
impl PartialEq for CryptoSuite
impl Copy for CryptoSuite
impl Eq for CryptoSuite
impl StructuralPartialEq for CryptoSuite
Auto Trait Implementations§
impl Freeze for CryptoSuite
impl RefUnwindSafe for CryptoSuite
impl Send for CryptoSuite
impl Sync for CryptoSuite
impl Unpin for CryptoSuite
impl UnsafeUnpin for CryptoSuite
impl UnwindSafe for CryptoSuite
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