[−][src]Struct bm_le::UnitDigestConstruct
Unit Digest construct.
Trait Implementations
impl<D, T> Construct for UnitDigestConstruct<D, T> where
D: Digest,
T: Clone + Default + AsRef<[u8]>,
[src]
D: Digest,
T: Clone + Default + AsRef<[u8]>,
type Intermediate = GenericArray<u8, <D as Digest>::OutputSize>
Intermediate value stored in this merkle database.
type End = T
End value stored in this merkle database.
fn intermediate_of(
left: &Value<<UnitDigestConstruct<D, T> as Construct>::Intermediate, <UnitDigestConstruct<D, T> as Construct>::End>,
right: &Value<<UnitDigestConstruct<D, T> as Construct>::Intermediate, <UnitDigestConstruct<D, T> as Construct>::End>
) -> <UnitDigestConstruct<D, T> as Construct>::Intermediate
[src]
left: &Value<<UnitDigestConstruct<D, T> as Construct>::Intermediate, <UnitDigestConstruct<D, T> as Construct>::End>,
right: &Value<<UnitDigestConstruct<D, T> as Construct>::Intermediate, <UnitDigestConstruct<D, T> as Construct>::End>
) -> <UnitDigestConstruct<D, T> as Construct>::Intermediate
fn empty_at<DB>(
_db: &mut DB,
_depth_to_bottom: usize
) -> Result<Value<<UnitDigestConstruct<D, T> as Construct>::Intermediate, <UnitDigestConstruct<D, T> as Construct>::End>, <DB as Backend>::Error> where
DB: WriteBackend<Construct = UnitDigestConstruct<D, T>>,
[src]
_db: &mut DB,
_depth_to_bottom: usize
) -> Result<Value<<UnitDigestConstruct<D, T> as Construct>::Intermediate, <UnitDigestConstruct<D, T> as Construct>::End>, <DB as Backend>::Error> where
DB: WriteBackend<Construct = UnitDigestConstruct<D, T>>,
Auto Trait Implementations
impl<D, T> Sync for UnitDigestConstruct<D, T> where
D: Sync,
T: Sync,
D: Sync,
T: Sync,
impl<D, T> Send for UnitDigestConstruct<D, T> where
D: Send,
T: Send,
D: Send,
T: Send,
impl<D, T> Unpin for UnitDigestConstruct<D, T> where
D: Unpin,
T: Unpin,
D: Unpin,
T: Unpin,
impl<D, T> RefUnwindSafe for UnitDigestConstruct<D, T> where
D: RefUnwindSafe,
T: RefUnwindSafe,
D: RefUnwindSafe,
T: RefUnwindSafe,
impl<D, T> UnwindSafe for UnitDigestConstruct<D, T> where
D: UnwindSafe,
T: UnwindSafe,
D: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self