Struct keyutils::PublicKeyOptions
source · pub struct PublicKeyOptions {
pub encoding: Option<KeyctlEncoding>,
pub hash: Option<KeyctlHash>,
}
Expand description
Options for output from public key functions (encryption, decryption, signing, and verifying).
Fields§
§encoding: Option<KeyctlEncoding>
The encoding of the encrypted blob or the signature.
hash: Option<KeyctlHash>
Hash algorithm to use (if the encoding uses it).
Trait Implementations§
source§impl Clone for PublicKeyOptions
impl Clone for PublicKeyOptions
source§fn clone(&self) -> PublicKeyOptions
fn clone(&self) -> PublicKeyOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for PublicKeyOptions
impl Send for PublicKeyOptions
impl Sync for PublicKeyOptions
impl Unpin for PublicKeyOptions
impl UnwindSafe for PublicKeyOptions
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