pub struct AeadKeyOptions { /* private fields */ }Expand description
Mint-time policy for an aead-key. Grants nothing by default; see
README.md, “Key-options contract”.
Implementations§
Source§impl AeadKeyOptions
impl AeadKeyOptions
Sourcepub fn can_unwrap(&self, allowed: bool)
pub fn can_unwrap(&self, allowed: bool)
Whether the minted key may unwrap key material (see
can-wrap). Disabled by default.
Source§impl AeadKeyOptions
impl AeadKeyOptions
Sourcepub fn extractable(&self, allowed: bool)
pub fn extractable(&self, allowed: bool)
Whether the minted key’s material may be exported. Disabled by default.
Trait Implementations§
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