pub struct HpkeKeyPair {
pub public_key: HpkePublicKey,
pub private_key: HpkePrivateKey,
}展开描述
An HPKE key pair, made of 一个 matching public 并 私钥.
字段§
§public_key: HpkePublicKeyA HPKE 公钥.
private_key: HpkePrivateKeyA HPKE 私钥.
自动 Trait 实现§
impl Freeze for HpkeKeyPair
impl RefUnwindSafe for HpkeKeyPair
impl Send for HpkeKeyPair
impl Sync for HpkeKeyPair
impl Unpin for HpkeKeyPair
impl UnsafeUnpin for HpkeKeyPair
impl UnwindSafe for HpkeKeyPair
Blanket 实现§
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 从 an owned value. 更多信息