pub enum ContentAlgorithm {
A256Gcm,
ChaCha20Poly1305,
}Expand description
Content-encryption algorithms in the profile allow-set.
A parameter of every encrypting entry point: basil invocation v1 passes
ContentAlgorithm::A256Gcm; clients may use
ContentAlgorithm::ChaCha20Poly1305.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ContentAlgorithm
impl Clone for ContentAlgorithm
Source§fn clone(&self) -> ContentAlgorithm
fn clone(&self) -> ContentAlgorithm
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 moreimpl Copy for ContentAlgorithm
Source§impl Debug for ContentAlgorithm
impl Debug for ContentAlgorithm
impl Eq for ContentAlgorithm
Source§impl Hash for ContentAlgorithm
impl Hash for ContentAlgorithm
Source§impl PartialEq for ContentAlgorithm
impl PartialEq for ContentAlgorithm
Source§fn eq(&self, other: &ContentAlgorithm) -> bool
fn eq(&self, other: &ContentAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContentAlgorithm
Auto Trait Implementations§
impl Freeze for ContentAlgorithm
impl RefUnwindSafe for ContentAlgorithm
impl Send for ContentAlgorithm
impl Sync for ContentAlgorithm
impl Unpin for ContentAlgorithm
impl UnsafeUnpin for ContentAlgorithm
impl UnwindSafe for ContentAlgorithm
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