[][src]Crate nature_common

Structs

BizObject

A snapshot for a particular Meta

ConverterParameter
DelayedInstances
DynamicConverter
Executor
FromInstance
IDAndFrom

used for query instance by id

Instance

A snapshot for a particular Meta

KeyCondition

used for query instance by id

Meta

separator for Meta's key Business Metadata

MetaSetting
QueryByMeta

used for query instance by id

SEPARATOR_INS_KEY
SEPARATOR_INS_PARA
SEPARATOR_META
SEPARATOR_META_KEY
SelfRouteInstance
StatePath
TargetState

used for converter setting

Enums

CheckType

tyep and it's position where it is in the path

ConverterReturned
MetaType

Every Meta must have a type

NatureError
Protocol
State

The structure for defined state in meta

Statics

CONTEXT_TARGET_INSTANCE_ID
CONTEXT_TARGET_INSTANCE_PARA

Functions

default_para_separator

This is only used for deserialize

generate_id
get_para_and_key_from_para

The Ok returned:

get_para_part

extract String from para by given part

is_default
is_default_para_separator

This is only used for serialize

is_one

This is only used for serialize

is_one_u32
make_key_and_para

key for instance'content, para for instance's para The Ok returned:

one
one_u32
setup_logger
u128_to_vec_u8
vec_to_hex_string
vec_to_u128

Type Definitions

Result
States

It can't have the state with same name.