[−][src]Struct bm_le::UnitDigestConstruct
Unit Digest construct.
Trait Implementations
impl<D, V> Construct for UnitDigestConstruct<D, V> where
D: Digest,
V: From<GenericArray<u8, <D as Digest>::OutputSize>> + AsRef<[u8]> + Default + Clone,
[src]
D: Digest,
V: From<GenericArray<u8, <D as Digest>::OutputSize>> + AsRef<[u8]> + Default + Clone,
type Value = V
Value stored in this merkle database.
fn intermediate_of(
left: &<UnitDigestConstruct<D, V> as Construct>::Value,
right: &<UnitDigestConstruct<D, V> as Construct>::Value
) -> <UnitDigestConstruct<D, V> as Construct>::Value
[src]
left: &<UnitDigestConstruct<D, V> as Construct>::Value,
right: &<UnitDigestConstruct<D, V> as Construct>::Value
) -> <UnitDigestConstruct<D, V> as Construct>::Value
fn empty_at<DB>(
_db: &mut DB,
_depth_to_bottom: usize
) -> Result<<UnitDigestConstruct<D, V> as Construct>::Value, <DB as Backend>::Error> where
DB: WriteBackend<Construct = UnitDigestConstruct<D, V>> + ?Sized,
[src]
_db: &mut DB,
_depth_to_bottom: usize
) -> Result<<UnitDigestConstruct<D, V> as Construct>::Value, <DB as Backend>::Error> where
DB: WriteBackend<Construct = UnitDigestConstruct<D, V>> + ?Sized,
Auto Trait Implementations
impl<D, V> Sync for UnitDigestConstruct<D, V> where
D: Sync,
V: Sync,
D: Sync,
V: Sync,
impl<D, V> Send for UnitDigestConstruct<D, V> where
D: Send,
V: Send,
D: Send,
V: Send,
impl<D, V> Unpin for UnitDigestConstruct<D, V> where
D: Unpin,
V: Unpin,
D: Unpin,
V: Unpin,
impl<D, V> RefUnwindSafe for UnitDigestConstruct<D, V> where
D: RefUnwindSafe,
V: RefUnwindSafe,
D: RefUnwindSafe,
V: RefUnwindSafe,
impl<D, V> UnwindSafe for UnitDigestConstruct<D, V> where
D: UnwindSafe,
V: UnwindSafe,
D: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<C> CompatibleConstruct for C where
C: Construct<Value = Value>,
[src]
C: Construct<Value = Value>,
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