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 for CipherChoice
impl PartialEq 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 Freeze for CipherChoice
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)