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§

source

fn into_parts(self) -> (&'static Call, Self::Params)

source

fn from_parts(call: &Call, params: Self::Params) -> Self

Object Safety§

This trait is not object safe.

Implementors§