Struct hdk::prelude::X25519XSalsa20Poly1305Encrypt[][src]

pub struct X25519XSalsa20Poly1305Encrypt { /* fields omitted */ }

Implementations

impl X25519XSalsa20Poly1305Encrypt[src]

pub fn new(
    sender: X25519PubKey,
    recipient: X25519PubKey,
    data: XSalsa20Poly1305Data
) -> X25519XSalsa20Poly1305Encrypt
[src]

pub fn as_sender_ref(&self) -> &X25519PubKey[src]

pub fn as_recipient_ref(&self) -> &X25519PubKey[src]

pub fn as_data_ref(&self) -> &XSalsa20Poly1305Data[src]

Trait Implementations

impl Clone for X25519XSalsa20Poly1305Encrypt[src]

impl Debug for X25519XSalsa20Poly1305Encrypt[src]

impl<'de> Deserialize<'de> for X25519XSalsa20Poly1305Encrypt[src]

impl PartialEq<X25519XSalsa20Poly1305Encrypt> for X25519XSalsa20Poly1305Encrypt[src]

impl Serialize for X25519XSalsa20Poly1305Encrypt[src]

impl StructuralPartialEq for X25519XSalsa20Poly1305Encrypt[src]

impl<'_> TryFrom<&'_ X25519XSalsa20Poly1305Encrypt> for SerializedBytes[src]

type Error = SerializedBytesError

The type returned in the event of a conversion error.

impl TryFrom<SerializedBytes> for X25519XSalsa20Poly1305Encrypt[src]

type Error = SerializedBytesError

The type returned in the event of a conversion error.

impl TryFrom<X25519XSalsa20Poly1305Encrypt> for SerializedBytes[src]

type Error = SerializedBytesError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,