pub struct HexCallDataSerializer(_);
Expand description

Serializes to Elrond’s smart contract call format.

This format consists of the function name, followed by ‘@’, follwed by hex-encoded argument bytes separated by ‘@’ characters. Example: “funcName@00000@aaaa@1234@@”. Arguments can be empty, in which case no hex digits are emitted. Argument hex encodings will always have an even number of digits.

HexCallDataSerializer owns its output.

Converting from whatever type the argument to bytes is not in scope. Use the serializer module for that.

Implementations§

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.