pub trait Deconstructable<Call> {
type Params: Send;
// Required methods
fn into_parts(self) -> (&'static Call, Self::Params);
fn from_parts(call: &Call, params: Self::Params) -> Self;
}Expand description
Trait that the RuntimeApi should implement in order to allow deconstruction and reconstruction to and from its components.
Required Associated Types§
Required Methods§
fn into_parts(self) -> (&'static Call, Self::Params)
fn from_parts(call: &Call, params: Self::Params) -> Self
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.