[][src]Trait rustabi::FunctionOutputDecoder

pub trait FunctionOutputDecoder {
type Output;
    fn decode(&self, _: &[u8]) -> Result<Self::Output>;
}

Contract functions generated by rustabi-derive

Associated Types

type Output

Output types of the contract function

Loading content...

Required methods

fn decode(&self, _: &[u8]) -> Result<Self::Output>

Decodes the given bytes output for the contract function

Loading content...

Implementors

Loading content...