[−][src]Struct curl::curl::Curl
Implementations
impl Curl
[src]
pub fn absorb(&mut self, trits: &[i8])
[src]
Absorb trits into the sponge
pub fn squeeze(&mut self, out: &mut [i8])
[src]
Squeeze trits out of the sponge and copy them into out
pub fn reset(&mut self)
[src]
Reset the sponge to initial state
pub fn digest(&mut self, input: &[i8], output: &mut [i8])
[src]
Digest inputs and then compute the hash with length of provided output slice
pub fn new(rounds: usize) -> Curl
[src]
pub fn state(&self) -> &[i8]
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Curl
impl Send for Curl
impl Sync for Curl
impl Unpin for Curl
impl UnwindSafe for Curl
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,