[][src]Struct gmorph::enc::KeyPair

pub struct KeyPair { /* fields omitted */ }

Type representing a key pair which can be used for encrypting and decrypting data

Methods

impl KeyPair[src]

pub fn new() -> Self[src]

Generates new random key pair

Trait Implementations

impl Default for KeyPair[src]

fn default() -> Self[src]

Creates randomized key pair

impl Debug for KeyPair[src]

Auto Trait Implementations

impl Unpin for KeyPair

impl Send for KeyPair

impl Sync for KeyPair

impl UnwindSafe for KeyPair

impl RefUnwindSafe for KeyPair

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self