Struct xwing_kem::XwingKeyPair
source · pub struct XwingKeyPair {
pub sk: XwingSecretKey,
pub pk: XwingPublicKey,
}
Fields§
§sk: XwingSecretKey
§pk: XwingPublicKey
Implementations§
source§impl XwingKeyPair
impl XwingKeyPair
pub fn generate() -> XwingKeyPair
Auto Trait Implementations§
impl RefUnwindSafe for XwingKeyPair
impl Send for XwingKeyPair
impl Sync for XwingKeyPair
impl Unpin for XwingKeyPair
impl UnwindSafe for XwingKeyPair
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