Struct block_modes::Ecb[][src]

pub struct Ecb<C: BlockCipher + BlockEncrypt + BlockDecrypt, P: Padding> { /* fields omitted */ }

Electronic Codebook (ECB) block cipher mode instance.

Note that new method ignores IV, so during initialization you can just pass Default::default() instead.

Trait Implementations

impl<C, P> BlockMode<C, P> for Ecb<C, P> where
    C: BlockCipher + BlockEncrypt + BlockDecrypt,
    P: Padding
[src]

type IvSize = U0

Initialization Vector size.

impl<C: Clone + BlockCipher + BlockEncrypt + BlockDecrypt, P: Clone + Padding> Clone for Ecb<C, P>[src]

Auto Trait Implementations

impl<C, P> RefUnwindSafe for Ecb<C, P> where
    C: RefUnwindSafe,
    P: RefUnwindSafe

impl<C, P> Send for Ecb<C, P> where
    C: Send,
    P: Send

impl<C, P> Sync for Ecb<C, P> where
    C: Sync,
    P: Sync

impl<C, P> Unpin for Ecb<C, P> where
    C: Unpin,
    P: Unpin

impl<C, P> UnwindSafe for Ecb<C, P> where
    C: UnwindSafe,
    P: UnwindSafe

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.