Crate tetsy_primitive_types[][src]

Primitive types shared by Tetcore and Tetsy Vapory.

Those are uint types U128, U256 and U512, and fixed hash types H160, H256 and H512, with optional serde serialization, tetsy-scale-codec and tetsy_rlp encoding.

Structs

H160

Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.

H256

Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.

H512

Fixed-size uninterpreted hash type with 64 bytes (512 bits) size.

U128

Little-endian large integer type

U256

Little-endian large integer type

U512

Little-endian large integer type

Enums

Error

Error type for conversion.