[−][src]Trait bm_le::Leak
Leakable value, whose default behavior of drop is to leak.
Associated Types
type Metadata
Metadata to represent this merkle struct.
Required methods
fn from_leaked(metadata: Self::Metadata) -> Self
Initialize from a previously leaked value.
fn metadata(&self) -> Self::Metadata
Metadata of the value.
Implementations on Foreign Types
impl<R, DB, T, H, V> Leak for PackedList<R, DB, T, H, V> where
DB: Backend,
H: ArrayLength<u8>,
R: RootStatus,
T: From<GenericArray<u8, V>> + Into<GenericArray<u8, V>>,
V: ArrayLength<u8>,
<DB as Backend>::End: From<usize>,
<DB as Backend>::End: Into<usize>,
<DB as Backend>::End: From<GenericArray<u8, H>>,
<DB as Backend>::End: Into<GenericArray<u8, H>>,
[src]
DB: Backend,
H: ArrayLength<u8>,
R: RootStatus,
T: From<GenericArray<u8, V>> + Into<GenericArray<u8, V>>,
V: ArrayLength<u8>,
<DB as Backend>::End: From<usize>,
<DB as Backend>::End: Into<usize>,
<DB as Backend>::End: From<GenericArray<u8, H>>,
<DB as Backend>::End: Into<GenericArray<u8, H>>,
type Metadata = <LengthMixed<R, DB, Vector<Dangling, DB>> as Leak>::Metadata
fn metadata(&self) -> <PackedList<R, DB, T, H, V> as Leak>::Metadata
[src]
fn from_leaked(
metadata: <PackedList<R, DB, T, H, V> as Leak>::Metadata
) -> PackedList<R, DB, T, H, V>
[src]
metadata: <PackedList<R, DB, T, H, V> as Leak>::Metadata
) -> PackedList<R, DB, T, H, V>
impl<R, DB> Leak for Raw<R, DB> where
DB: Backend,
R: RootStatus,
[src]
DB: Backend,
R: RootStatus,
type Metadata = Value<<DB as Backend>::Intermediate, <DB as Backend>::End>
fn metadata(&self) -> <Raw<R, DB> as Leak>::Metadata
[src]
fn from_leaked(root: <Raw<R, DB> as Leak>::Metadata) -> Raw<R, DB>
[src]
impl<R, DB, S> Leak for LengthMixed<R, DB, S> where
DB: Backend,
R: RootStatus,
S: Sequence<Backend = DB, RootStatus = Dangling> + Leak,
[src]
DB: Backend,
R: RootStatus,
S: Sequence<Backend = DB, RootStatus = Dangling> + Leak,
type Metadata = (Value<<DB as Backend>::Intermediate, <DB as Backend>::End>, <S as Leak>::Metadata)
fn metadata(&self) -> <LengthMixed<R, DB, S> as Leak>::Metadata
[src]
fn from_leaked(
<LengthMixed<R, DB, S> as Leak>::Metadata
) -> LengthMixed<R, DB, S>
[src]
<LengthMixed<R, DB, S> as Leak>::Metadata
) -> LengthMixed<R, DB, S>
impl<R, DB, T, H, V> Leak for PackedVector<R, DB, T, H, V> where
DB: Backend,
H: ArrayLength<u8>,
R: RootStatus,
T: From<GenericArray<u8, V>> + Into<GenericArray<u8, V>>,
V: ArrayLength<u8>,
<DB as Backend>::End: From<GenericArray<u8, H>>,
<DB as Backend>::End: Into<GenericArray<u8, H>>,
[src]
DB: Backend,
H: ArrayLength<u8>,
R: RootStatus,
T: From<GenericArray<u8, V>> + Into<GenericArray<u8, V>>,
V: ArrayLength<u8>,
<DB as Backend>::End: From<GenericArray<u8, H>>,
<DB as Backend>::End: Into<GenericArray<u8, H>>,
type Metadata = (Value<<DB as Backend>::Intermediate, <DB as Backend>::End>, usize, Option<usize>)
fn metadata(&self) -> <PackedVector<R, DB, T, H, V> as Leak>::Metadata
[src]
fn from_leaked(
<PackedVector<R, DB, T, H, V> as Leak>::Metadata
) -> PackedVector<R, DB, T, H, V>
[src]
<PackedVector<R, DB, T, H, V> as Leak>::Metadata
) -> PackedVector<R, DB, T, H, V>
Implementors
impl<R, DB> Leak for List<R, DB> where
DB: Backend,
R: RootStatus,
<DB as Backend>::End: From<usize>,
<DB as Backend>::End: Into<usize>,
[src]
DB: Backend,
R: RootStatus,
<DB as Backend>::End: From<usize>,
<DB as Backend>::End: Into<usize>,
type Metadata = <LengthMixed<R, DB, Vector<Dangling, DB>> as Leak>::Metadata
fn metadata(&self) -> <List<R, DB> as Leak>::Metadata
[src]
fn from_leaked(metadata: <List<R, DB> as Leak>::Metadata) -> List<R, DB>
[src]
impl<R, DB> Leak for Vector<R, DB> where
DB: Backend,
R: RootStatus,
[src]
DB: Backend,
R: RootStatus,