Enum tink_core::Primitive[][src]

pub enum Primitive {
    Aead(Box<dyn Aead>),
    DeterministicAead(Box<dyn DeterministicAead>),
    HybridDecrypt(Box<dyn HybridDecrypt>),
    HybridEncrypt(Box<dyn HybridEncrypt>),
    Mac(Box<dyn Mac>),
    Prf(Box<dyn Prf>),
    Signer(Box<dyn Signer>),
    StreamingAead(Box<dyn StreamingAead>),
    Verifier(Box<dyn Verifier>),
}

The primitives available in Tink.

Variants

Aead(Box<dyn Aead>)
DeterministicAead(Box<dyn DeterministicAead>)
HybridDecrypt(Box<dyn HybridDecrypt>)
HybridEncrypt(Box<dyn HybridEncrypt>)
Mac(Box<dyn Mac>)
Prf(Box<dyn Prf>)
Signer(Box<dyn Signer>)
StreamingAead(Box<dyn StreamingAead>)
Verifier(Box<dyn Verifier>)

Trait Implementations

impl Clone for Primitive[src]

Manual implementation of the Clone trait, which makes use of the trait bounds on the individual primitive types; specifically that they provide a box_clone() method.

Auto Trait Implementations

impl !RefUnwindSafe for Primitive

impl !Send for Primitive

impl !Sync for Primitive

impl Unpin for Primitive

impl !UnwindSafe for Primitive

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> Same<T> for T

type Output = T

Should always be Self

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>,