Trait t3rn_abi::recode::Recode

source ·
pub trait Recode {
    // Required methods
    fn chop_encoded(
        field_data: &[u8],
        fields_iter_clone: IntoIter<Box<Abi>>
    ) -> Result<(IntoIter<Vec<u8>>, u8), DispatchError>;
    fn event_to_filled(
        field_data: &[u8],
        name: Option<Name>,
        fields_iter_clone: IntoIter<Box<Abi>>
    ) -> Result<(FilledAbi, usize), DispatchError>;
}

Required Methods§

source

fn chop_encoded( field_data: &[u8], fields_iter_clone: IntoIter<Box<Abi>> ) -> Result<(IntoIter<Vec<u8>>, u8), DispatchError>

source

fn event_to_filled( field_data: &[u8], name: Option<Name>, fields_iter_clone: IntoIter<Box<Abi>> ) -> Result<(FilledAbi, usize), DispatchError>

Implementors§