pub trait ABIPackedEncodable: Sized {
    // Required method
    fn abi_packed_encode(&self) -> Vec<u8> ;
}
Expand description

A type implements ABIPackedEncodable must be a tuple of types implement ABIVariable. For convenient, for the tuple with only one element like (U256,), we implement ABIPackedEncodable for U256 instead.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ABIPackedEncodable for ()

source§

impl<A: ABIVariable, B: ABIVariable> ABIPackedEncodable for (A, B)

source§

impl<A: ABIVariable, B: ABIVariable, C: ABIVariable> ABIPackedEncodable for (A, B, C)

source§

impl<A: ABIVariable, B: ABIVariable, C: ABIVariable, D: ABIVariable> ABIPackedEncodable for (A, B, C, D)

source§

impl<A: ABIVariable, B: ABIVariable, C: ABIVariable, D: ABIVariable, E: ABIVariable> ABIPackedEncodable for (A, B, C, D, E)

Implementors§