Struct pgp::packet::UserId [−][src]
pub struct UserId { /* fields omitted */ }
Expand description
User ID Packet https://tools.ietf.org/html/rfc4880.html#section-5.11
Implementations
Parses a UserId
packet from the given slice.
pub fn sign<F>(
&self,
key: &impl SecretKeyTrait,
key_pw: F
) -> Result<SignedUser> where
F: FnOnce() -> String,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UserId
impl UnwindSafe for UserId
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self