Skip to main content

Crate tlb_ton

Crate tlb_ton 

Source
Expand description

§TON-specific types for TL-B

docs.rs crates.io

Modules§

action
bin_tree
Collection of bintree-like de/serializable data structures
bits
Binary TL-B de/serialization
currency
Collection of types to work with currencies
de
Deserialization for TL-B
hashmap
Collection of hashmap-like de/serializable data structures
library
message
Collection of typs related to Message
ser
Serialization for TL-B
state_init
Collection of types related to StateInit

Structs§

Anycast
AsWrap
Helper to implement de/serialize trait for adapters
BagOfCells
Bag Of Cells is used to de/serialize a set of cells from/into bytes.
BagOfCellsArgs
BitPack::Args for BagOfCells
Cell
A Cell.
Data
Adapter to implement cell de/serialization from/into binary data.
DefaultArgs
Adapter to implement de/serialize with Default args.
DefaultOnNone
De/serialize Default on None values
EitherInlineOrRef
FromInto
Serialize value by converting it to/from a proxy type with serialization support.
FromIntoRef
Serialize a reference value by converting it to/from a proxy type with serialization support.
List
MsgAddress
MsgAddress
ParseFully
Adapter to deserialize value and ensure that no more data and references left.
Ref
Adapter to de/serialize value from/into reference to the child cell.
Same
Adapter to convert from *As to regular de/serialization traits.
SnakeData
From TEP-64:
StringError
String-backed Error
TryFromInto
Serialize value by converting it to/from a proxy type with serialization support.
TryFromIntoRef
Serialize a reference value by converting it to/from a proxy type with serialization support.
UnixTimestamp
Adapter to de/serialize UNIX timestamp as u32 from DateTime

Traits§

Context
Adapter for providing context on Result
Error
De/serialization error

Type Aliases§

BoC
Alias to BagOfCells
Text
From TEP-64: