Enum snow::params::CipherChoice
source · pub enum CipherChoice {
ChaChaPoly,
AESGCM,
}
Expand description
One of ChaChaPoly
or AESGCM
, per the spec.
Variants§
Trait Implementations§
source§impl Clone for CipherChoice
impl Clone for CipherChoice
source§fn clone(&self) -> CipherChoice
fn clone(&self) -> CipherChoice
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 CipherChoice
impl Debug for CipherChoice
source§impl FromStr for CipherChoice
impl FromStr for CipherChoice
source§impl PartialEq<CipherChoice> for CipherChoice
impl PartialEq<CipherChoice> for CipherChoice
source§fn eq(&self, other: &CipherChoice) -> bool
fn eq(&self, other: &CipherChoice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CipherChoice
impl StructuralPartialEq for CipherChoice
Auto Trait Implementations§
impl RefUnwindSafe for CipherChoice
impl Send for CipherChoice
impl Sync for CipherChoice
impl Unpin for CipherChoice
impl UnwindSafe for CipherChoice
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