pub struct AeadKeyOptions {
pub seal: bool,
pub open: bool,
pub wrap: bool,
pub unwrap: bool,
pub extractable: bool,
}Expand description
Mint-time policy for an Aead key. See MacKeyOptions for the
options contract.
Fields§
§seal: boolWhether the minted key may seal.
open: boolWhether the minted key may open.
wrap: boolWhether the minted key may wrap key material.
unwrap: boolWhether the minted key may unwrap key material.
extractable: boolWhether the minted key’s material may be exported.
Trait Implementations§
Source§impl Clone for AeadKeyOptions
impl Clone for AeadKeyOptions
Source§fn clone(&self) -> AeadKeyOptions
fn clone(&self) -> AeadKeyOptions
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 AeadKeyOptions
impl Debug for AeadKeyOptions
Source§impl Default for AeadKeyOptions
impl Default for AeadKeyOptions
Source§fn default() -> AeadKeyOptions
fn default() -> AeadKeyOptions
Returns the “default value” for a type. Read more
impl Copy for AeadKeyOptions
Auto Trait Implementations§
impl Freeze for AeadKeyOptions
impl RefUnwindSafe for AeadKeyOptions
impl Send for AeadKeyOptions
impl Sync for AeadKeyOptions
impl Unpin for AeadKeyOptions
impl UnsafeUnpin for AeadKeyOptions
impl UnwindSafe for AeadKeyOptions
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