Modules§
Macros§
- decoder_
fn 🔒 - encode_
payload - Encode a dynamic set of arguments to a buffer.
- encode_
payload_ async - Asynchronously encode a dynamic set of arguments to a buffer.
- encoder_
fn 🔒 - impl_
int_ 🔒encodable - tuple_
encode 🔒
Structs§
- VarInt
- Variable-integer encoding.
Traits§
- Async
Decodable - Data which can asynchronously be decoded in a consensus-consistent way.
- Async
Encodable - Data which can asynchronously be encoded in a consensus-consistent way.
- Async
Read - Read bytes asynchronously.
- Async
Read Ext - Extensions of
AsyncReadto decode data as per Bitcoin consensus. - Async
Write - Write bytes asynchronously.
- Async
Write Ext - Extensions of
AsyncWriteto encode data as per Bitcoin consensus. - Decodable
- Data which can be decoded in a consensus-consistent way.
- Encodable
- Data which can be encoded in a consensus-consistent way.
- FutAsync
Read Ext - Extension trait for
AsyncRead. - FutAsync
Write Ext - Extension trait for
AsyncWrite. - ReadExt
- Extensions of
Readto decode data as per Bitcoin consensus. - Write
Ext - Extensions of
Writeto encode data as per Bitcoin consensus.
Functions§
- deserialize
- Deserialize an object from a vector. Will error if said deserialization doesn’t consume the entire vector.
- deserialize_
async - Asynchronously deserialize an object from a vector. Will error if said deserialization doesn’t consume the entire vector.
- deserialize_
async_ limited - Asynchronously deserialize a variable-length object from a vector, but enforce a maximum size limit.
- deserialize_
async_ limited_ partial - Asynchronously deserialize a variable-length object from a vector, enforce a maximum size limit, but do not error if the entire vector is not consumed.
- deserialize_
async_ partial - Asynchronously deserialize an object from a vector, but do not error if the entire vector is not consumed.
- deserialize_
limited - Deserialize a variable-length object from a vector, but enforce a maximum size limit.
- deserialize_
limited_ partial - Deserialize a variable-length object from a vector, enforce a maximum size limit, but do not error if the entire vector is not consumed.
- deserialize_
partial - Deserialize an object from a vector, but do not error if the entire vector is not consumed.
- serialize
- Encode an object into a vector.
- serialize_
async - Asynchronously encode an object into a vector.