pub trait LoadCell<'a>: Sized {
// Required method
fn load_from_cell(cell: &'a DynCell) -> Result<Self, Error>;
}Expand description
A data structure that can be deserialized from the full cell.
Required Methods§
Sourcefn load_from_cell(cell: &'a DynCell) -> Result<Self, Error>
fn load_from_cell(cell: &'a DynCell) -> Result<Self, Error>
Tries to load itself from cell.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.