[][src]Struct tink_proto::ChaCha20Poly1305Key

pub struct ChaCha20Poly1305Key {
    pub version: u32,
    pub key_value: Vec<u8>,
}

key_type: type.googleapis.com/google.crypto.tink.ChaCha20Poly1305. This key type actually implements ChaCha20Poly1305 as described at https://tools.ietf.org/html/rfc7539#section-2.8.

Fields

version: u32key_value: Vec<u8>

Trait Implementations

impl Clone for ChaCha20Poly1305Key[src]

impl Debug for ChaCha20Poly1305Key[src]

impl Default for ChaCha20Poly1305Key[src]

impl Message for ChaCha20Poly1305Key[src]

impl PartialEq<ChaCha20Poly1305Key> for ChaCha20Poly1305Key[src]

impl StructuralPartialEq for ChaCha20Poly1305Key[src]

Auto Trait Implementations

impl RefUnwindSafe for ChaCha20Poly1305Key

impl Send for ChaCha20Poly1305Key

impl Sync for ChaCha20Poly1305Key

impl Unpin for ChaCha20Poly1305Key

impl UnwindSafe for ChaCha20Poly1305Key

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> From<T> 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.