pub enum PerformanceTier {
UltraSecure,
Balanced,
Performance,
Hybrid,
}Expand description
Performance tier for AEAD algorithms
Variants§
UltraSecure
Ultra-secure tier with maximum security
Balanced
Balanced tier with good security and performance
Performance
Performance tier optimized for speed
Hybrid
Hybrid tier with algorithm diversity
Trait Implementations§
Source§impl Clone for PerformanceTier
impl Clone for PerformanceTier
Source§fn clone(&self) -> PerformanceTier
fn clone(&self) -> PerformanceTier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PerformanceTier
impl Debug for PerformanceTier
Source§impl Hash for PerformanceTier
impl Hash for PerformanceTier
Source§impl PartialEq for PerformanceTier
impl PartialEq for PerformanceTier
Source§fn eq(&self, other: &PerformanceTier) -> bool
fn eq(&self, other: &PerformanceTier) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PerformanceTier
impl Eq for PerformanceTier
impl StructuralPartialEq for PerformanceTier
Auto Trait Implementations§
impl Freeze for PerformanceTier
impl RefUnwindSafe for PerformanceTier
impl Send for PerformanceTier
impl Sync for PerformanceTier
impl Unpin for PerformanceTier
impl UnsafeUnpin for PerformanceTier
impl UnwindSafe for PerformanceTier
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