Struct pgp::composed::key::SecretSubkey [−][src]
pub struct SecretSubkey { /* fields omitted */ }
Implementations
pub fn sign<F>(
self,
sec_key: &impl SecretKeyTrait,
key_pw: F
) -> Result<SignedSecretSubKey> where
F: FnOnce() -> String + Clone,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SecretSubkey
impl Send for SecretSubkey
impl Sync for SecretSubkey
impl Unpin for SecretSubkey
impl UnwindSafe for SecretSubkey
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self