[][src]Struct nettle_sys::nettle_cipher

#[repr(C)]pub struct nettle_cipher {
    pub name: *const c_char,
    pub context_size: c_uint,
    pub block_size: c_uint,
    pub key_size: c_uint,
    pub set_encrypt_key: nettle_set_key_func,
    pub set_decrypt_key: nettle_set_key_func,
    pub encrypt: nettle_cipher_func,
    pub decrypt: nettle_cipher_func,
}

Fields

name: *const c_charcontext_size: c_uintblock_size: c_uintkey_size: c_uintset_encrypt_key: nettle_set_key_funcset_decrypt_key: nettle_set_key_funcencrypt: nettle_cipher_funcdecrypt: nettle_cipher_func

Trait Implementations

impl Clone for nettle_cipher[src]

impl Copy for nettle_cipher[src]

impl Debug for nettle_cipher[src]

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