[][src]Struct bundled_crypto::algo::cipher::xchacha20::poly1305::Key

pub struct Key { /* fields omitted */ }

Methods

impl Key[src]

pub fn new(key: UnderlyingKey) -> Self[src]

Trait Implementations

impl Key for Key[src]

impl SafeGenerateKey for Key[src]

type Settings = ()

Information required to generate a new Key.

impl Clone for Key[src]

Auto Trait Implementations

impl Send for Key

impl Unpin for Key

impl Sync for Key

impl UnwindSafe for Key

impl RefUnwindSafe for Key

Blanket Implementations

impl<S, K> Key for K where
    K: SafeGenerateKey<Settings = S>, 
[src]

type Settings = S

Information required to generate a new Key.

type Error = !

Error resulting in generating a new key.

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

type Owned = T

The resulting type after obtaining ownership.

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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