pub struct ABIEncoder {
    pub function_selector: ByteArray,
    pub encoded_args: Vec<u8>,
}

Fields

function_selector: ByteArrayencoded_args: Vec<u8>

Implementations

Encode takes an array of Tokens, encodes these tokens, and returns the raw bytes (as a Vec) that represent the encoded tokens. The encoding follows the ABI specs defined here

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.