pub struct ProtectOptions { /* private fields */ }Expand description
Options for Key::protect. Defaults match librnp’s internal defaults
(AES256 / SHA256 / iterated-and-salted).
Implementations§
Trait Implementations§
Source§impl Default for ProtectOptions
impl Default for ProtectOptions
Source§fn default() -> ProtectOptions
fn default() -> ProtectOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProtectOptions
impl RefUnwindSafe for ProtectOptions
impl Send for ProtectOptions
impl Sync for ProtectOptions
impl Unpin for ProtectOptions
impl UnsafeUnpin for ProtectOptions
impl UnwindSafe for ProtectOptions
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