pub trait CallFrameSubstateReadHandler<C, L> {
    type Error;

    // Required method
    fn on_read_substate(
        &mut self,
        current_frame: &CallFrame<C, L>,
        heap: &Heap,
        handle: SubstateHandle,
        value: &IndexedScryptoValue,
        device: SubstateDevice
    ) -> Result<(), Self::Error>;
}
Expand description

Callback for substate read, from call frame

Required Associated Types§

Required Methods§

source

fn on_read_substate( &mut self, current_frame: &CallFrame<C, L>, heap: &Heap, handle: SubstateHandle, value: &IndexedScryptoValue, device: SubstateDevice ) -> Result<(), Self::Error>

Implementors§