Skip to main content

Crate jam_primitives

Crate jam_primitives 

Source

Re-exports§

pub use types::*;

Modules§

block
JAM Protocol Block Structures
constants
Constants for the JAM protocol
crypto
Cryptographic Primitives for JAM Protocol
header
JAM Protocol Header Structures
transaction
JAM Protocol Transaction Types
types
Core Types for JAM Protocol
utils
Utilities for JAM Protocol

Enums§

PrimitiveError
Error types for primitive operations

Traits§

Decode
Trait that allows zero-copy read of value-references from slices in LE format.
Encode
Trait that allows zero-copy write of value-references to slices in LE format.
Hashable
Trait for types that can be hashed
Validate
Trait for types that can be validated

Type Aliases§

PrimitiveResult
Common result type for primitive operations

Derive Macros§

Decode
Derive parity_scale_codec::Decode for struct and enum.
Encode
Derive parity_scale_codec::Encode and parity_scale_codec::EncodeLike for struct and enum.