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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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
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