Expand description
Modulesยง
- as_
base64 - as_hex
- Serde implementations using hex-encoded encodables
- bls12_
381 ๐ - btc
- collections ๐
- iroh ๐
- secp256k1 ๐
- threshold_
crypto ๐
Macrosยง
- impl_
encode_ ๐decode_ num_ as_ bigsize - impl_
encode_ ๐decode_ num_ as_ plain - impl_
encode_ ๐decode_ tuple
Structsยง
- Count
Write - A writer counting number of bytes written to it
- Decode
Error
Enumsยง
- DynRaw
Fallback - A type that decodes
module_instance_id-prefixedTs even when correspondingDecoderis not available.
Constantsยง
- MAX_
DECODE_ SIZE - Maximum size, in bytes, of data we are allowed to ever decode for a single value.
Traitsยง
- Decodable
- Data which can be encoded in a consensus-consistent way
- DynEncodable
- Object-safe trait for things that can encode themselves
- Encodable
- Data which can be encoded in a consensus-consistent way
Functionsยง
- decode_
field_ from_ finite_ reader - Decodes a field from a finite reader and annotates errors with its schema context.
- decode_
legacy_ option_ system_ time_ from_ finite_ reader - Decodes an optional timestamp in the legacy
SystemTimerepresentation. - decode_
legacy_ system_ time_ from_ finite_ reader - Decodes a timestamp from the legacy
(seconds, nanoseconds)representation. - encode_
legacy_ option_ system_ time - Encodes an optional timestamp in the legacy
SystemTimerepresentation. - encode_
legacy_ system_ time - Encodes a timestamp as the legacy
(seconds, nanoseconds)SystemTimerepresentation. - with_
decoding_ context - Adds schema context to an error returned while decoding a field.