[][src]Struct iota_crypto_preview::CurlP27

pub struct CurlP27(_);

CurlP with a fixed number of 27 rounds.

Methods

impl CurlP27[src]

pub fn new() -> Self[src]

impl CurlP27[src]

pub fn rounds(&self) -> usize[src]

Return the number of rounds used in this CurlP instacnce.

Trait Implementations

impl Default for CurlP27[src]

impl Sponge for CurlP27[src]

type Error = Infallible

An error indicating a that a failure has occured during absorb.

Auto Trait Implementations

impl RefUnwindSafe for CurlP27

impl Send for CurlP27

impl Sync for CurlP27

impl Unpin for CurlP27

impl UnwindSafe for CurlP27

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