Trait InstructionSinkExt

Source
pub trait InstructionSinkExt {
    // Required methods
    fn state_id_load(
        &mut self,
        offset: u64,
        state_id_layout: &Layout,
    ) -> &mut Self;
    fn state_id_store(
        &mut self,
        offset: u64,
        state_id_layout: &Layout,
    ) -> &mut Self;
}

Required Methods§

Source

fn state_id_load(&mut self, offset: u64, state_id_layout: &Layout) -> &mut Self

Source

fn state_id_store(&mut self, offset: u64, state_id_layout: &Layout) -> &mut 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.

Implementations on Foreign Types§

Source§

impl InstructionSinkExt for InstructionSink<'_>

Source§

fn state_id_load(&mut self, offset: u64, state_id_layout: &Layout) -> &mut Self

Source§

fn state_id_store(&mut self, offset: u64, state_id_layout: &Layout) -> &mut Self

Implementors§