pub enum Recipient {
X25519(Recipient),
Ssh(Recipient),
}Expand description
Something a value is encrypted to: an age X25519 key (age1…) or an SSH
public key (ssh-ed25519 …, ssh-rsa …).
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Recipient
impl RefUnwindSafe for Recipient
impl Send for Recipient
impl Sync for Recipient
impl Unpin for Recipient
impl UnsafeUnpin for Recipient
impl UnwindSafe for Recipient
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