[−][src]Struct storage_proofs::hasher::blake2s::Blake2sFunction
Trait Implementations
impl HashFunction<Blake2sDomain> for Blake2sFunction
[src]
fn hash(data: &[u8]) -> Blake2sDomain
[src]
fn hash_leaf_circuit<E: JubjubEngine, CS: ConstraintSystem<E>>(
cs: CS,
left: &[Boolean],
right: &[Boolean],
height: usize,
params: &E::Params
) -> Result<AllocatedNum<E>, SynthesisError>
[src]
cs: CS,
left: &[Boolean],
right: &[Boolean],
height: usize,
params: &E::Params
) -> Result<AllocatedNum<E>, SynthesisError>
fn hash_circuit<E: JubjubEngine, CS: ConstraintSystem<E>>(
cs: CS,
bits: &[Boolean],
_params: &E::Params
) -> Result<AllocatedNum<E>, SynthesisError>
[src]
cs: CS,
bits: &[Boolean],
_params: &E::Params
) -> Result<AllocatedNum<E>, SynthesisError>
fn hash_leaf(data: &dyn LightHashable<Self>) -> T
[src]
fn hash_single_node(data: &dyn LightHashable<Self>) -> T
[src]
impl Default for Blake2sFunction
[src]
impl PartialEq<Blake2sFunction> for Blake2sFunction
[src]
fn eq(&self, other: &Self) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Clone for Blake2sFunction
[src]
fn clone(&self) -> Blake2sFunction
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for Blake2sFunction
[src]
impl Hasher for Blake2sFunction
[src]
fn write(&mut self, msg: &[u8])
[src]
fn finish(&self) -> u64
[src]
fn write_u8(&mut self, i: u8)
1.3.0[src]
Writes a single u8
into this hasher.
fn write_u16(&mut self, i: u16)
1.3.0[src]
Writes a single u16
into this hasher.
fn write_u32(&mut self, i: u32)
1.3.0[src]
Writes a single u32
into this hasher.
fn write_u64(&mut self, i: u64)
1.3.0[src]
Writes a single u64
into this hasher.
fn write_u128(&mut self, i: u128)
1.26.0[src]
Writes a single u128
into this hasher.
fn write_usize(&mut self, i: usize)
1.3.0[src]
Writes a single usize
into this hasher.
fn write_i8(&mut self, i: i8)
1.3.0[src]
Writes a single i8
into this hasher.
fn write_i16(&mut self, i: i16)
1.3.0[src]
Writes a single i16
into this hasher.
fn write_i32(&mut self, i: i32)
1.3.0[src]
Writes a single i32
into this hasher.
fn write_i64(&mut self, i: i64)
1.3.0[src]
Writes a single i64
into this hasher.
fn write_i128(&mut self, i: i128)
1.26.0[src]
Writes a single i128
into this hasher.
fn write_isize(&mut self, i: isize)
1.3.0[src]
Writes a single isize
into this hasher.
impl Debug for Blake2sFunction
[src]
impl Hashable<Blake2sFunction> for Blake2sDomain
[src]
fn hash(&self, state: &mut Blake2sFunction)
[src]
fn hash_slice(data: &[Self], state: &mut H)
[src]
Feeds a slice of this type into the given [Hasher
]. Read more
impl Algorithm<Blake2sDomain> for Blake2sFunction
[src]
fn hash(&mut self) -> Blake2sDomain
[src]
fn reset(&mut self)
[src]
fn leaf(&mut self, leaf: Blake2sDomain) -> Blake2sDomain
[src]
fn node(
&mut self,
left: Blake2sDomain,
right: Blake2sDomain,
height: usize
) -> Blake2sDomain
[src]
&mut self,
left: Blake2sDomain,
right: Blake2sDomain,
height: usize
) -> Blake2sDomain
Auto Trait Implementations
impl Unpin for Blake2sFunction
impl Send for Blake2sFunction
impl Sync for Blake2sFunction
impl UnwindSafe for Blake2sFunction
impl RefUnwindSafe for Blake2sFunction
Blanket Implementations
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,