pub struct MacKeyOptions { /* private fields */ }Expand description
Mint-time policy for a mac-key, consumed by the minting
interfaces’ functions. Grants nothing by default; see README.md,
“Key-options contract”.
Implementations§
Source§impl MacKeyOptions
impl MacKeyOptions
Source§impl MacKeyOptions
impl MacKeyOptions
Source§impl MacKeyOptions
impl MacKeyOptions
Sourcepub fn can_verify(&self, allowed: bool)
pub fn can_verify(&self, allowed: bool)
Whether the minted key may verify. Disabled by default.
Source§impl MacKeyOptions
impl MacKeyOptions
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 MacKeyOptions
impl RefUnwindSafe for MacKeyOptions
impl Send for MacKeyOptions
impl Sync for MacKeyOptions
impl Unpin for MacKeyOptions
impl UnsafeUnpin for MacKeyOptions
impl UnwindSafe for MacKeyOptions
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