pub trait TransactionFullChildPreparable: HasSummary + Sized {
    // Required method
    fn prepare_as_full_body_child(
        decoder: &mut TransactionDecoder<'_>
    ) -> Result<Self, PrepareError>;

    // Provided method
    fn prepare_as_full_body_child_from_payload(
        payload: &[u8]
    ) -> Result<Self, PrepareError> { ... }
}

Required Methods§

fn prepare_as_full_body_child( decoder: &mut TransactionDecoder<'_> ) -> Result<Self, PrepareError>

Prepares value from a manifest decoder by reading the full SBOR value body (with the value kind)

Provided Methods§

fn prepare_as_full_body_child_from_payload( payload: &[u8] ) -> Result<Self, PrepareError>

Only exposed for testing

Object Safety§

This trait is not object safe.

Implementors§