Crate stacks_common

Source

Modules§

address
bitvec
codec
consts
deps_common
types
util

Macros§

BITVEC_LEN
debug
define_named_enum
Define a “named” enum, i.e., each variant corresponds to a string literal, with a 1-1 mapping. You get EnumType::lookup_by_name and EnumType.get_name() for free.
define_u8_enum
Define a “u8” enum gives you a try_from(u8) -> Option function
define_versioned_named_enum
Define a “named” enum, i.e., each variant corresponds to a string literal, with a 1-1 mapping. You get EnumType::lookup_by_name and EnumType.get_name() for free.
error
fatal
fmax
fmin
function_name
guarded_string
impl_array_hexstring_fmt
impl_array_newtype
Borrowed from Andrew Poelstra’s rust-bitcoin
impl_byte_array_message_codec
impl_byte_array_newtype
impl_byte_array_serde
impl_index_newtype
impl_stacks_message_codec_for_int
info
iterable_enum
Define an iterable enum: an enum where each variant is an atomic type (i.e., has no paramters), and the variants can be iterated over with an Enum::ALL const
test_debug
trace
warn