Trait corundum::convert::PFrom[][src]

pub trait PFrom<T, A: MemPool> {
    fn pfrom(_: T, j: &Journal<A>) -> Self;
}
Expand description

An equivalent to From for persistent memory which requires a Journal to operate

Required methods

Implementors

Crates a new PRefCell and drops the Ref

After calling this function, the Ref won’t be available anymore. It will be possible to borrow the PRefCell mutably. The new PRefCell has a new location with the same data.

Crates a new PRefCell and drops the Ref

After calling this function, the Ref won’t be available anymore. It will be possible to borrow the PRefCell mutably. The new PRefCell has a new location with the same data.

Crates a new PRefCell